Move syscon_generic to attach much later
It still needs to be before if_awg at least in order to be available for other operations, but it should not be attaching before interrupt controllers at the very least. This should make errors involving syscon register space colliding with other devices a little more innocent, but these conflicts should really be tracked down and resolved. One such conflict is with the Raspberry Pi 3 local interrupt controller, noticed by tuexen@ Reported by: tuexen
This commit is contained in:
parent
90ceddb160
commit
e7cfe78afe
@ -207,5 +207,5 @@ DEFINE_CLASS_0(syscon_generic, syscon_generic_driver, syscon_generic_dmethods,
|
||||
sizeof(struct syscon_generic_softc));
|
||||
static devclass_t syscon_generic_devclass;
|
||||
EARLY_DRIVER_MODULE(syscon_generic, simplebus, syscon_generic_driver,
|
||||
syscon_generic_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_LATE);
|
||||
syscon_generic_devclass, 0, 0, BUS_PASS_DEFAULT + BUS_PASS_ORDER_FIRST);
|
||||
MODULE_VERSION(syscon_generic, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user