diff options
author | brian <brian@FreeBSD.org> | 2005-08-09 11:14:21 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2005-08-09 11:14:21 +0000 |
commit | cf2dc60e17ec56798092fb8152d7d81ed2c195ad (patch) | |
tree | 5c35ce1652a706d50d0e7cbc20d0df1466dd8a31 /share | |
parent | b9e940b3ccaafb66168998e9a8bbfb3cb36fafd4 (diff) | |
download | FreeBSD-src-cf2dc60e17ec56798092fb8152d7d81ed2c195ad.zip FreeBSD-src-cf2dc60e17ec56798092fb8152d7d81ed2c195ad.tar.gz |
Mention how to ensure that a device hasn't already been identified
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/device_add_child.9 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/share/man/man9/device_add_child.9 b/share/man/man9/device_add_child.9 index eafd284..51e7093 100644 --- a/share/man/man9/device_add_child.9 +++ b/share/man/man9/device_add_child.9 @@ -96,8 +96,10 @@ is used, then the new child will be added as if its order was zero. .Pp When adding a device in the context of .Xr DEVICE_IDENTIFY 9 -routine, some care must be taken to ensure that the device has not -already been added to the tree. +routine, the +.Xr device_find_children 9 +routine should be used to ensure that the device has not already been +added to the tree. Because the device name and .Vt devclass_t are associated at probe time (not child addition time), previous @@ -109,7 +111,9 @@ devices. .Sh RETURN VALUES The new device if successful, NULL otherwise. .Sh SEE ALSO +.Xr DEVICE_IDENTIFY 9 .Xr device 9 +.Xr device_find_children 9 .Sh AUTHORS This manual page was written by .An Doug Rabson . |