Make sure intc is attached before interrupt consumers
If pass order is not specified devices are attached in the order they are defined in dts. Some interrupt consumers may be defined before intc. Also make sure intc interrupt-parent local_intc is attached before intc itself.
This commit is contained in:
parent
4527476029
commit
511bc527ff
@ -468,7 +468,8 @@ static driver_t bcm_intc_driver = {
|
||||
|
||||
static devclass_t bcm_intc_devclass;
|
||||
|
||||
DRIVER_MODULE(intc, simplebus, bcm_intc_driver, bcm_intc_devclass, 0, 0);
|
||||
EARLY_DRIVER_MODULE(intc, simplebus, bcm_intc_driver, bcm_intc_devclass,
|
||||
0, 0, BUS_PASS_INTERRUPT + BUS_PASS_ORDER_LATE);
|
||||
|
||||
#ifndef INTRNG
|
||||
int
|
||||
|
Loading…
x
Reference in New Issue
Block a user