From nobody Thu Jan  9 20:09:29 2025
X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
	by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YTbV12Ff4z5jxNy;
	Thu, 09 Jan 2025 20:09:29 +0000 (UTC)
	(envelope-from git@FreeBSD.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
	 client-signature RSA-PSS (4096 bits) client-digest SHA256)
	(Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK))
	by mx1.freebsd.org (Postfix) with ESMTPS id 4YTbV11kGSz4p3y;
	Thu,  9 Jan 2025 20:09:29 +0000 (UTC)
	(envelope-from git@FreeBSD.org)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1736453369;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding;
	bh=PJzylw5pZ29ZzgkyS9Gu0q0rAVZldDplZERHPxBLO6c=;
	b=eKDE9Lv9b6U8N70cHXZedfvWGNIUnVBbFTDSfY9VJihUTQWibx7c5wzMwti97nx9Ew4cTh
	/ZXhIqZaId7am8rQo+obpUMFIHIXwF0RC64BooMnmPDyAH6HCksax72+iyz9URhwbBYbzw
	Hj6EgNjV1MVvWk7L/lYsEKFRLNfM3GvNKkMpkW7wk3i0VDvjf0qcOJWWLT4Jmpxi3jSJM6
	czcmVlypwwjWd80YZaHii6K6nyQR1kEnctR1e2bxNm+VpvrI1FDcJbUPxvMwPFGqWZcOOK
	v19Ou/9vNES8zvkYmLDM4TVd1Y1JoAblovkcKYaPOuMlGPW7v6spmvtfTpy5tA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
	s=dkim; t=1736453369;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding;
	bh=PJzylw5pZ29ZzgkyS9Gu0q0rAVZldDplZERHPxBLO6c=;
	b=S/0eZ2tudFqH7uz1x1kvtDiLHpKC/V5lt9bHYJfGSHsUYLQo2WqHzdWXnbHHKG8xc0I5Dz
	hkU/fFIN4C/VYCLutmz/QZcLaKo3FWoLXLUV+ug9LB8OQYJrtDCkceXEtbBnGM4myHaAbd
	8lcFCHfQncD6HbDdevZozv0Xt6ps2hEBjedl05ToiKw0ITWgtgJPN8J1WMQ64uwh2Ywts6
	llU1dBsmtlbhlbvpbf0mEsq/+bGK+nHOA1QBQRHhWDbRl4+C50D2TySv0rOJbVaYdZ8zQ2
	HM0sINCGhvcOWV8PbQ9oqA+6wUiIxJEj86EMzYwd2DIF/mgE6Dvn8UNLnNuNxQ==
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736453369; a=rsa-sha256; cv=none;
	b=wE/NB/KnRMTcN1CkQ/dcWDN0UZ4etAwLUv+XMj4z1UNNrpN/JuqjmKHhtJ+6wZQPMarVuH
	dbh2LaMIgwV2/2JaqheNdVDzuWFTRlq1TR36i92NNuwKZ5YUkNOn3z8fP4APFJ80ZS+9i+
	DoAaI1VAg8bj5jwyNoIaJUd1mzIhX7RySN6d8QYfKbNKqkxRtYq/xAjgr8xB835OILVIvv
	Jr19RBw/4oqZD5v05O+duTw1Hn5NtpDs00T90SZblS33ul6thXsaoTjO93iD8XR8EncHV5
	Edp49WjKuJ5WeEf5jS6RzszlWjv69j+qRkFbAdzQxqesxn3IbPVny/xr1BqImA==
ARC-Authentication-Results: i=1;
	mx1.freebsd.org;
	none
Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(Client did not present a certificate)
	by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YTbV11F3szhSB;
	Thu, 09 Jan 2025 20:09:29 +0000 (UTC)
	(envelope-from git@FreeBSD.org)
Received: from gitrepo.freebsd.org ([127.0.1.44])
	by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 509K9TUX030829;
	Thu, 9 Jan 2025 20:09:29 GMT
	(envelope-from git@gitrepo.freebsd.org)
Received: (from git@localhost)
	by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 509K9Tr9030826;
	Thu, 9 Jan 2025 20:09:29 GMT
	(envelope-from git)
Date: Thu, 9 Jan 2025 20:09:29 GMT
Message-Id: <202501092009.509K9Tr9030826@gitrepo.freebsd.org>
To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org,
        dev-commits-src-main@FreeBSD.org
From: John Baldwin <jhb@FreeBSD.org>
Subject: git: 6af088c736c2 - main - BUS_CHILD_DETACHED.9: This is
  also called if DEVICE_ATTACH fails
List-Id: Commit messages for all branches of the src repository <dev-commits-src-all.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all
List-Help: <mailto:dev-commits-src-all+help@freebsd.org>
List-Post: <mailto:dev-commits-src-all@freebsd.org>
List-Subscribe: <mailto:dev-commits-src-all+subscribe@freebsd.org>
List-Unsubscribe: <mailto:dev-commits-src-all+unsubscribe@freebsd.org>
X-BeenThere: dev-commits-src-all@freebsd.org
Sender: owner-dev-commits-src-all@FreeBSD.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Git-Committer: jhb
X-Git-Repository: src
X-Git-Refname: refs/heads/main
X-Git-Reftype: branch
X-Git-Commit: 6af088c736c2fd9e64f2ad9449b7df1a109e6241
Auto-Submitted: auto-generated

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