From nobody Sun Dec 01 04:57:50 2024 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 4Y1F672mmGz5gDFg; Sun, 01 Dec 2024 04:57:51 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y1F6671Qjz4Ckc; Sun, 1 Dec 2024 04:57:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733029071; 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=53OmtrtWkllGrg7gLbpjSPDR13Ce5zLckt93KoW5WrE=; b=XFSPt+RQWUnbUYtEa8BVLBASW9vcWrC1yWv44clLpBOj/lSnnVInUEi1e/i2j14N6S6wSx qP0AC2oxMdKYQNQYoT1i5rnmsSIBxACB0afv70zztilCQZqCOjcgywMybdCOEXRPd4ZuRM j4XqxfYWPUEz4aE1mZpa/XT5rbMCjTc7YNKdiE2Fkp2yC/4Avejr791g1KBczt7b585Aq8 KFe7+BFR7Smyj3TYIZTyPtKeFF9/yUPMKk3x0/E1OTVcnFwCWUfCJBq9IOCGGLu0yjQFU+ Wtgwvi3MbBVBdQCxgauN2T3nQV4SMmVhBZRSmRY552n6xVaPi09d8DInXtQeHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733029071; 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=53OmtrtWkllGrg7gLbpjSPDR13Ce5zLckt93KoW5WrE=; b=v/bziijNxB1y1uL9CmIbNx/3x7oEXncNuhOduUU9OwECSor5UKraIB06DtGBbW25Zfctgu mV/JBKB8skmff73HTeP9DYG2Cm3U3L4b12NxXsvruOyidJyprSaJRtEr2iOuv9LZgYbt9T G8NKWdrUBB0WYuoKpgNWl8adeTqhpqLPYGrIqxNrZhCIMIm/sph7HRNYUop51mxelRufYT S4nA5cqhc6jIKyueyphEIrZ12SpZiBS+H6LB50sQqUs1e/30MyPDTU89Ky6vU2MVGYG+Xr EqN2XL6n5blh5gX+V4ASY5g6NRz9j8eSfvRPUlkiq/zIrzhuTsyZMJ0vA/53UA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733029071; a=rsa-sha256; cv=none; b=yPpzc8k84NEKaxujLp8G4ycwHyUrWO/OHjv7FSn16FeF2fvsfR/tv8BHw5XkJnNiLgGrUZ bpDkZg/jpTZR5Sa5mOfPm4FjC2y6poMY9ggTV19EofQq9z/FGZy7Mpx2B87zWevr7B+Rst KsUbg9sNX+an0a5iIEH/40Mzg1fWZeITf/P3fqLQQuezS0fXDwsobTZDM3m0rBlyy4QvuD nR0CSBjw6mSK5UiKADOKnZtcvEh/TL8oO7IkA70nzL2U2e9/dcftpkLm3w2DcREPqhpDyL bbtrk54bZBSw49VehmJAznsAgR5pSLbcNzIGImi/M8anQZIhP6cd/oM+Svo83Q== 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 4Y1F666dJwzdn5; Sun, 1 Dec 2024 04:57:50 +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 4B14vovJ097102; Sun, 1 Dec 2024 04:57:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B14voDF097099; Sun, 1 Dec 2024 04:57:50 GMT (envelope-from git) Date: Sun, 1 Dec 2024 04:57:50 GMT Message-Id: <202412010457.4B14voDF097099@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: 3e50ccca4cb2 - stable/13 - Use bus_delayed_attach_children instead of its inline implementation List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 3e50ccca4cb23d8382fa427604698a33ed0ed900 Auto-Submitted: auto-generated The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=3e50ccca4cb23d8382fa427604698a33ed0ed900 commit 3e50ccca4cb23d8382fa427604698a33ed0ed900 Author: John Baldwin AuthorDate: 2024-10-21 14:24:39 +0000 Commit: John Baldwin CommitDate: 2024-11-30 21:36:44 +0000 Use bus_delayed_attach_children instead of its inline implementation Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D47186 (cherry picked from commit 5201decc8b431a8f4f53efb8db5fc452557de68b) --- sys/arm/xilinx/zy7_qspi.c | 2 +- sys/arm/xilinx/zy7_spi.c | 2 +- sys/dev/iicbus/iicoc_fdt.c | 2 +- sys/riscv/sifive/sifive_spi.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/arm/xilinx/zy7_qspi.c b/sys/arm/xilinx/zy7_qspi.c index bfb1f69f5cf2..077dc7c660a2 100644 --- a/sys/arm/xilinx/zy7_qspi.c +++ b/sys/arm/xilinx/zy7_qspi.c @@ -603,7 +603,7 @@ zy7_qspi_attach(device_t dev) zy7_qspi_add_sysctls(dev); /* Attach spibus driver as a child later when interrupts work. */ - config_intrhook_oneshot((ich_func_t)bus_generic_attach, dev); + bus_delayed_attach_children(dev); return (0); } diff --git a/sys/arm/xilinx/zy7_spi.c b/sys/arm/xilinx/zy7_spi.c index 8c8a507374ff..fe04d1c71196 100644 --- a/sys/arm/xilinx/zy7_spi.c +++ b/sys/arm/xilinx/zy7_spi.c @@ -440,7 +440,7 @@ zy7_spi_attach(device_t dev) zy7_spi_add_sysctls(dev); /* Attach spibus driver as a child later when interrupts work. */ - config_intrhook_oneshot((ich_func_t)bus_generic_attach, dev); + bus_delayed_attach_children(dev); return (0); } diff --git a/sys/dev/iicbus/iicoc_fdt.c b/sys/dev/iicbus/iicoc_fdt.c index 4eedc0344593..f3ebadb4e670 100644 --- a/sys/dev/iicbus/iicoc_fdt.c +++ b/sys/dev/iicbus/iicoc_fdt.c @@ -125,7 +125,7 @@ iicoc_attach(device_t dev) } /* Probe and attach the iicbus when interrupts are available. */ - config_intrhook_oneshot((ich_func_t)bus_generic_attach, dev); + bus_delayed_attach_children(dev); return (0); diff --git a/sys/riscv/sifive/sifive_spi.c b/sys/riscv/sifive/sifive_spi.c index 2d9643bc6f5a..1f3d06a9f71b 100644 --- a/sys/riscv/sifive/sifive_spi.c +++ b/sys/riscv/sifive/sifive_spi.c @@ -347,7 +347,7 @@ sfspi_attach(device_t dev) /* Probe and attach the spibus when interrupts are available. */ sc->parent = device_add_child(dev, "spibus", -1); - config_intrhook_oneshot((ich_func_t)bus_generic_attach, dev); + bus_delayed_attach_children(dev); return (0);