mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
dpaa: Probe and attach pqmdio at BUS_PASS_RESOURCE
Avoid the fragile nature of depending on ordering of the devices in the FDT by forcing the MDIO driver to precede the DTSEC driver.
This commit is contained in:
parent
21d5b592fa
commit
fae4c6494a
1 changed files with 2 additions and 1 deletions
|
|
@ -204,7 +204,8 @@ pqmdio_miibus_writereg(device_t dev, int phy, int reg, int value)
|
|||
return (0);
|
||||
}
|
||||
|
||||
DRIVER_MODULE(pqmdio, fman, pqmdio_driver, 0, 0);
|
||||
EARLY_DRIVER_MODULE(pqmdio, fman, pqmdio_driver, 0, 0,
|
||||
BUS_PASS_RESOURCE);
|
||||
DRIVER_MODULE(miibus, pqmdio, miibus_driver, 0, 0);
|
||||
MODULE_DEPEND(pqmdio, miibus, 1, 1, 1);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue