diff options
author | imp <imp@FreeBSD.org> | 2004-05-13 20:54:49 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2004-05-13 20:54:49 +0000 |
commit | 73b8b7698f89ce1ef44027c206603b58da516901 (patch) | |
tree | 4377367b38e57a2229b50243b05f8eba8d2bdc96 /share | |
parent | 8bae5ad13539f71712d77119314b790120313a7d (diff) | |
download | FreeBSD-src-73b8b7698f89ce1ef44027c206603b58da516901.zip FreeBSD-src-73b8b7698f89ce1ef44027c206603b58da516901.tar.gz |
Add some verbage over the difference between BUS_ADD_CHILD and
device_add_child. The former calls the latter.
Pointed out by: jhb
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/BUS_ADD_CHILD.9 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/share/man/man9/BUS_ADD_CHILD.9 b/share/man/man9/BUS_ADD_CHILD.9 index 8f40c75..c1bf9f7 100644 --- a/share/man/man9/BUS_ADD_CHILD.9 +++ b/share/man/man9/BUS_ADD_CHILD.9 @@ -44,6 +44,17 @@ Used by the driver identify routine to add devices to the tree. Please see .Xr device_add_child 9 for more details. +The interface is the same as +.Fn device_add_child +however, the bus' +.Ft BUS_ADD_CHILD +is called. +.Pp +Busses implementing +.Ft BUS_ADD_CHILD +should insert the device into the tree using +.Fn device_add_child +before adding things such as their own ivars and resource lists to the device. .Sh SEE ALSO .Xr device 9 , .Xr device_add_child 9 , |