Skip to content

Commit

Permalink
BUS_CHILD_DETACHED.9: This is also called if DEVICE_ATTACH fails
Browse files Browse the repository at this point in the history
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D48363
  • Loading branch information
bsdjhb committed Jan 9, 2025
1 parent c6eb7f3 commit 6af088c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions share/man/man9/BUS_CHILD_DETACHED.9
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd August 21, 2012
.Dd January 9, 2025
.Dt BUS_CHILD_DETACHED 9
.Os
.Sh NAME
Expand All @@ -39,7 +39,10 @@
.Sh DESCRIPTION
The
.Fn BUS_CHILD_DETACHED
method is invoked by the new-bus framework after a device is detached.
method is invoked by the new-bus framework after a device is detached
or if a driver's attach routine
.Pq see Xr DEVICE_ATTACH 9
fails.
A bus driver can provide an implementation of this method to
reclaim any resources allocated on behalf of the child or
to cleanup state not properly released by a
Expand Down

0 comments on commit 6af088c

Please sign in to comment.