Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2025 20:09:29 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 6af088c736c2 - main - BUS_CHILD_DETACHED.9: This is also called if DEVICE_ATTACH fails
Message-ID:  <202501092009.509K9Tr9030826@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=6af088c736c2fd9e64f2ad9449b7df1a109e6241

commit 6af088c736c2fd9e64f2ad9449b7df1a109e6241
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2025-01-09 20:09:21 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2025-01-09 20:09:21 +0000

    BUS_CHILD_DETACHED.9: This is also called if DEVICE_ATTACH fails
    
    Reviewed by:    imp
    Differential Revision:  https://reviews.freebsd.org/D48363
---
 share/man/man9/BUS_CHILD_DETACHED.9 | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/share/man/man9/BUS_CHILD_DETACHED.9 b/share/man/man9/BUS_CHILD_DETACHED.9
index 4cc00a49465b..8b59d1362d3d 100644
--- a/share/man/man9/BUS_CHILD_DETACHED.9
+++ b/share/man/man9/BUS_CHILD_DETACHED.9
@@ -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
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501092009.509K9Tr9030826>