From nobody Sun Dec 01 04:57:00 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 4Y1F590pstz5gDBG; Sun, 01 Dec 2024 04:57:01 +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 4Y1F586qTZz482b; Sun, 1 Dec 2024 04:57:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733029021; 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=1+zfZKH9+9A+g42YpMp8uvkZewyrO5reqHuLzxa7+aU=; b=VmTVdp9xIPrAVfUDsp0EBwWAopj+2SyfoEeLWWyODU4RGaVBQZeaDDPRjeDcEpirTjFxwL BTjoDCKL4gycD4VypgYwWeHzdu/iJIMLv1pk5aFnKFJK1bc0v2IX5yhayyw137qzWvqSCD jZW614su7C5Id18tU8dqyl21AkmnOEdl0lAv48OrNMkLip08EHQKUBNqGsoL1dge62hz2G rr6N2EGpfx0WPjr7gxV7pXp1Y+7W4OwuTwSwe5kolMmNuZKafkP3dgmJ8eW9RGG3YY30Gr jj3uFyEBf529EOv46oFZQIpUNrqSTmw4Mgdw+PHOPcdeJhTTlAcAYW/cSU67HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733029021; 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=1+zfZKH9+9A+g42YpMp8uvkZewyrO5reqHuLzxa7+aU=; b=XD/VgvJhHS7ypn4s0IqWgeOGTAxIDg638m0bpqWFzJ1cf6t0e41nTsPXWMxXcPE07vd6Nd Bhr0O88nyGvy1cgpgc9NYTyOiwtpbVbloajSCk4pyQEYvM4RJZrdQ5kIVICcQpKUU/2sRz c3H/HSoTnohPY9Io6jPuaj93UhqRc3+3tKPppb5JtUawNXFaPqIt3dVxoAVzaJVmESvuEg siAIfqIdv2z/PANdTB5Ew9hHjsZ36Dk7TT++ThNv5JUW7tFcF+XyCYhmtKdhu+jmzB1nZ5 /fDWKM18udCCXd1H3u9/H+sxVdayG7YxSck/JR2n48UfAFQPO94qO8Pepo+qrg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733029021; a=rsa-sha256; cv=none; b=hFkR2OpmXM+k4At9UbiS4Y94AisqXbD3d5TiqxCEPJIK7h8XEGfDzSEcesabOHCZAR8kuw b1ffyOIRU5SdrLqhSsB7fPy91G72NjIRZrAjZdws/gFjyjXBB2x4l0isbAC+BDoi7d38N+ CYL9SDv0CvZ4QLegqrAVzHcw9bjLEbX8DzPsXC2Riw1YHZXA0AD3GRb/iTrlVU/NmeMTx6 UQT7Sb3+lYkpMWH4eQxMnOP94LYQ4epwYKAc6rwxeDioQ3tlgxY2KkOq2ERYmglX8MvSTs pI84AGfa8yHdYedhbtRGutvOta/YR+l5RDu8ZnavwuiErlJYvGCKDvR6UOOGmg== 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 4Y1F586Nvnzdmx; Sun, 1 Dec 2024 04:57:00 +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 4B14v066094703; Sun, 1 Dec 2024 04:57:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B14v0O5094700; Sun, 1 Dec 2024 04:57:00 GMT (envelope-from git) Date: Sun, 1 Dec 2024 04:57:00 GMT Message-Id: <202412010457.4B14v0O5094700@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: 081207e22c17 - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: 081207e22c173a8f49982e31610657d97a8d78aa Auto-Submitted: auto-generated The branch stable/14 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=081207e22c173a8f49982e31610657d97a8d78aa commit 081207e22c173a8f49982e31610657d97a8d78aa Author: John Baldwin AuthorDate: 2024-10-21 14:24:39 +0000 Commit: John Baldwin CommitDate: 2024-12-01 02:46:05 +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/controller/opencores/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 d639c0bb02cf..1aa7176ee84c 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 0010cd6e00a0..822d8cbcfba3 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/controller/opencores/iicoc_fdt.c b/sys/dev/iicbus/controller/opencores/iicoc_fdt.c index cff19c723c53..57ec953cfff3 100644 --- a/sys/dev/iicbus/controller/opencores/iicoc_fdt.c +++ b/sys/dev/iicbus/controller/opencores/iicoc_fdt.c @@ -128,7 +128,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 c51e3ab2d322..65f4f4c95798 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);