Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107300244
D48371.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
853 B
Referenced Files
None
Subscribers
None
D48371.id.diff
View Options
diff --git a/share/man/man9/bus_generic_detach.9 b/share/man/man9/bus_generic_detach.9
--- a/share/man/man9/bus_generic_detach.9
+++ b/share/man/man9/bus_generic_detach.9
@@ -44,13 +44,23 @@
.Xr DEVICE_DETACH 9
method
which can be used by most bus code.
-It simply calls the
-.Xr DEVICE_DETACH 9
-method of each child device attached to the bus.
+It uses
+.Xr bus_detach_children 9
+to detach drivers from all child devices giving them a chance to veto the
+detach request.
+If
+.Fn bus_detach_children
+succeeds,
+.Fn bus_generic_detach
+calls
+.Xr device_delete_children 9
+to delete all child devices.
.Sh RETURN VALUES
Zero is returned on success, otherwise an appropriate error is returned.
.Sh SEE ALSO
+.Xr bus_detach_children 9 ,
.Xr device 9 ,
+.Xr device_delete_children 9 ,
.Xr driver 9
.Sh AUTHORS
This manual page was written by
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 13, 5:10 AM (3 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15724149
Default Alt Text
D48371.id.diff (853 B)
Attached To
Mode
D48371: bus_generic_detach.9: Update for new semantics
Attached
Detach File
Event Timeline
Log In to Comment