aboutsummaryrefslogtreecommitdiff
path: root/sys/arm/broadcom
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2020-07-28 10:40:00 +0000
committerAndrew Turner <andrew@FreeBSD.org>2020-07-28 10:40:00 +0000
commit4b24f9a0a8362feeafe4058be707ae2187763888 (patch)
treef70883b01e2635bc9b3dbee892e42c86ddc127c8 /sys/arm/broadcom
parentfeecedb1c6dca9f39bab114bc89f7d3077d0dc59 (diff)
downloadsrc-4b24f9a0a8362feeafe4058be707ae2187763888.tar.gz
src-4b24f9a0a8362feeafe4058be707ae2187763888.zip
Move the bcm2835 mailbox driver earlier in the boot
This will be needed before the firmware driver is loaded
Notes
Notes: svn path=/head/; revision=363640
Diffstat (limited to 'sys/arm/broadcom')
-rw-r--r--sys/arm/broadcom/bcm2835/bcm2835_mbox.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arm/broadcom/bcm2835/bcm2835_mbox.c b/sys/arm/broadcom/bcm2835/bcm2835_mbox.c
index 4d6ab7e9a6c3..b3d012a417fe 100644
--- a/sys/arm/broadcom/bcm2835/bcm2835_mbox.c
+++ b/sys/arm/broadcom/bcm2835/bcm2835_mbox.c
@@ -293,7 +293,8 @@ static driver_t bcm_mbox_driver = {
static devclass_t bcm_mbox_devclass;
-DRIVER_MODULE(mbox, simplebus, bcm_mbox_driver, bcm_mbox_devclass, 0, 0);
+EARLY_DRIVER_MODULE(mbox, simplebus, bcm_mbox_driver, bcm_mbox_devclass, 0, 0,
+ BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LAST);
static void
bcm2835_mbox_dma_cb(void *arg, bus_dma_segment_t *segs, int nseg, int err)