dpaa: Use BUS_PASS_SUPPORTDEV for pqmdio
BUS_PASS_SUPPORTDEV is semantically better than BUS_PASS_RESOURCE, since it's a support device for dtsec, so only needs probed before dtsec, not before interrupts. Suggested by: manu
This commit is contained in:
parent
fae4c6494a
commit
598e073f74
@ -205,7 +205,7 @@ pqmdio_miibus_writereg(device_t dev, int phy, int reg, int value)
|
||||
}
|
||||
|
||||
EARLY_DRIVER_MODULE(pqmdio, fman, pqmdio_driver, 0, 0,
|
||||
BUS_PASS_RESOURCE);
|
||||
BUS_PASS_SUPPORTDEV);
|
||||
DRIVER_MODULE(miibus, pqmdio, miibus_driver, 0, 0);
|
||||
MODULE_DEPEND(pqmdio, miibus, 1, 1, 1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user