Skip to content

Commit 6af088c

Browse files
committed
BUS_CHILD_DETACHED.9: This is also called if DEVICE_ATTACH fails
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D48363
1 parent c6eb7f3 commit 6af088c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

share/man/man9/BUS_CHILD_DETACHED.9

+5-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2626
.\" SUCH DAMAGE.
2727
.\"
28-
.Dd August 21, 2012
28+
.Dd January 9, 2025
2929
.Dt BUS_CHILD_DETACHED 9
3030
.Os
3131
.Sh NAME
@@ -39,7 +39,10 @@
3939
.Sh DESCRIPTION
4040
The
4141
.Fn BUS_CHILD_DETACHED
42-
method is invoked by the new-bus framework after a device is detached.
42+
method is invoked by the new-bus framework after a device is detached
43+
or if a driver's attach routine
44+
.Pq see Xr DEVICE_ATTACH 9
45+
fails.
4346
A bus driver can provide an implementation of this method to
4447
reclaim any resources allocated on behalf of the child or
4548
to cleanup state not properly released by a

0 commit comments

Comments
 (0)