summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbr <br@FreeBSD.org>2015-10-05 13:15:21 +0000
committerbr <br@FreeBSD.org>2015-10-05 13:15:21 +0000
commit7b9bab6fbb69066f6e2ca96e5ca5b62fe834a2bb (patch)
treee0e63f52a698af1d1c0b793fdfe86d27c1d3e24d
parent4a5ab30b33be29a8d450a9a4e41d68471eed5ad8 (diff)
downloadFreeBSD-src-7b9bab6fbb69066f6e2ca96e5ca5b62fe834a2bb.zip
FreeBSD-src-7b9bab6fbb69066f6e2ca96e5ca5b62fe834a2bb.tar.gz
Attach interrupt controller device before other devices.
Sponsored by: University of Cambridge
-rw-r--r--sys/arm/ti/aintc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arm/ti/aintc.c b/sys/arm/ti/aintc.c
index fe41723..ccac5e7 100644
--- a/sys/arm/ti/aintc.c
+++ b/sys/arm/ti/aintc.c
@@ -156,7 +156,8 @@ static driver_t ti_aintc_driver = {
static devclass_t ti_aintc_devclass;
-DRIVER_MODULE(aintc, simplebus, ti_aintc_driver, ti_aintc_devclass, 0, 0);
+EARLY_DRIVER_MODULE(aintc, simplebus, ti_aintc_driver, ti_aintc_devclass,
+ 0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_MIDDLE);
int
arm_get_next_irq(int last_irq)
OpenPOWER on IntegriCloud