diff options
author | imp <imp@FreeBSD.org> | 2004-03-05 22:21:18 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2004-03-05 22:21:18 +0000 |
commit | 335717fbe6327ded8d5b469914466349faa1acd8 (patch) | |
tree | 62def12d087f60a5254c2eedb9b8ea8534743aa5 /share | |
parent | 367b608998e2012299c99a8fb4b5644539c355cf (diff) | |
download | FreeBSD-src-335717fbe6327ded8d5b469914466349faa1acd8.zip FreeBSD-src-335717fbe6327ded8d5b469914466349faa1acd8.tar.gz |
Add warning about loading/unloading drivers and identify
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/DEVICE_IDENTIFY.9 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/share/man/man9/DEVICE_IDENTIFY.9 b/share/man/man9/DEVICE_IDENTIFY.9 index db36c0b..04802ce 100644 --- a/share/man/man9/DEVICE_IDENTIFY.9 +++ b/share/man/man9/DEVICE_IDENTIFY.9 @@ -54,6 +54,13 @@ with the kernel by calling for each resource (refer to .Xr bus_set_resource 9 for more information). +.Pp +Since the device tree and the device driver tree are disjoint, the +.Nm +routine needs to take this into account. +If you load and unload your device driver that has the identify +routine, the child node has the potential for adding the same node +multiple times. .Sh EXAMPLES The following pseudo-code shows an example of a function that probes for a piece of hardware and registers it and its resource |