diff options
author | imp <imp@FreeBSD.org> | 2006-09-11 22:17:18 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2006-09-11 22:17:18 +0000 |
commit | e2689a926c8bedb36b365e21feeb9230e5c19e9e (patch) | |
tree | 5d77b7968e4cf4cf25f529da0364f1bdfe2de21b /share/man/man9/device_add_child.9 | |
parent | 4c318f22c8649960aad848db8c73e68e8a7981f4 (diff) | |
download | FreeBSD-src-e2689a926c8bedb36b365e21feeb9230e5c19e9e.zip FreeBSD-src-e2689a926c8bedb36b365e21feeb9230e5c19e9e.tar.gz |
Add note about identify routines needing to use BUS_ADD_CHILD rather
than device_add_child. The latter is only for busses adding children,
not children drivers telling a bus that they have an instance...
Diffstat (limited to 'share/man/man9/device_add_child.9')
-rw-r--r-- | share/man/man9/device_add_child.9 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/share/man/man9/device_add_child.9 b/share/man/man9/device_add_child.9 index 09f2005..ba162d0 100644 --- a/share/man/man9/device_add_child.9 +++ b/share/man/man9/device_add_child.9 @@ -108,9 +108,15 @@ have already added the instance. Authors of bus drivers must likewise be careful when adding children when they are loaded and unloaded to avoid duplication of children devices. +.Pp +Identify routines should use +.Xr BUS_ADD_CHILD 9 +instead of +.Xr device_add_child 9 . .Sh RETURN VALUES The new device if successful, NULL otherwise. .Sh SEE ALSO +.Xr BUS_ADD_CHILD 9 , .Xr device 9 , .Xr device_find_child 9 , .Xr DEVICE_IDENTIFY 9 |