Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Feb 2021 21:03:56 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 07efb4cef7be - releng/13.0 - arm64: rpi4: firmware: Attach at BUS_PASS_BUS + BUS_PASS_ORDER_LATE
Message-ID:  <202102212103.11LL3uBQ081832@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch releng/13.0 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=07efb4cef7be8336b272869cf9a68c817445983a

commit 07efb4cef7be8336b272869cf9a68c817445983a
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2021-02-17 12:11:36 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2021-02-21 21:02:47 +0000

    arm64: rpi4: firmware: Attach at BUS_PASS_BUS + BUS_PASS_ORDER_LATE
    
    The node have now a compatible with simple-mfd so we need to attach
    at the same pass so the specific driver will be used.
    
    Approved by:    re (gjb)
    MFC after:      3 days
    PR:             252971
    
    (cherry picked from commit 1cf282363101f5d99b1dadfb0d3250bbe6f482a5)
    (cherry picked from commit 944f4316558055a2bb6481048386e94b523ab48c)
---
 sys/arm/broadcom/bcm2835/bcm2835_firmware.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/arm/broadcom/bcm2835/bcm2835_firmware.c b/sys/arm/broadcom/bcm2835/bcm2835_firmware.c
index 1a061e60a823..03eb4878d23a 100644
--- a/sys/arm/broadcom/bcm2835/bcm2835_firmware.c
+++ b/sys/arm/broadcom/bcm2835/bcm2835_firmware.c
@@ -180,5 +180,5 @@ DEFINE_CLASS_1(bcm2835_firmware, bcm2835_firmware_driver,
     simplebus_driver);
 
 EARLY_DRIVER_MODULE(bcm2835_firmware, simplebus, bcm2835_firmware_driver,
-    bcm2835_firmware_devclass, 0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LAST);
+    bcm2835_firmware_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_LATE);
 MODULE_DEPEND(bcm2835_firmware, mbox, 1, 1, 1);



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