diff options
-rw-r--r-- | sys/mips/mips/mips_pic.c | 6 | ||||
-rw-r--r-- | sys/mips/mips/nexus.c | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/sys/mips/mips/mips_pic.c b/sys/mips/mips/mips_pic.c index c20bc8d..250f8cf 100644 --- a/sys/mips/mips/mips_pic.c +++ b/sys/mips/mips/mips_pic.c @@ -448,9 +448,11 @@ static driver_t mips_pic_driver = { static devclass_t mips_pic_devclass; #ifdef FDT -DRIVER_MODULE(cpupic, ofwbus, mips_pic_driver, mips_pic_devclass, 0, 0); +EARLY_DRIVER_MODULE(cpupic, ofwbus, mips_pic_driver, mips_pic_devclass, 0, 0, + BUS_PASS_INTERRUPT); #else -DRIVER_MODULE(cpupic, nexus, mips_pic_driver, mips_pic_devclass, 0, 0); +EARLY_DRIVER_MODULE(cpupic, nexus, mips_pic_driver, mips_pic_devclass, 0, 0, + BUS_PASS_INTERRUPT); #endif void diff --git a/sys/mips/mips/nexus.c b/sys/mips/mips/nexus.c index fb52fa9..6ab0da3 100644 --- a/sys/mips/mips/nexus.c +++ b/sys/mips/mips/nexus.c @@ -576,4 +576,5 @@ nexus_hinted_child(device_t bus, const char *dname, int dunit) } } -DRIVER_MODULE(nexus, root, nexus_driver, nexus_devclass, 0, 0); +EARLY_DRIVER_MODULE(nexus, root, nexus_driver, nexus_devclass, 0, 0, + BUS_PASS_BUS + BUS_PASS_ORDER_EARLY); |