Mark the thunder_mdio_fdt driver as early, the bgx needs it to exist so it

can find the network phy.

Sponsored by:	ABT Systems Ltd
This commit is contained in:
Andrew Turner 2015-11-06 14:40:51 +00:00
parent 1df3f63ac5
commit 576aa559db
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290448

View File

@ -58,8 +58,8 @@ DEFINE_CLASS_1(thunder_mdio, thunder_mdio_fdt_driver, thunder_mdio_fdt_methods,
static devclass_t thunder_mdio_fdt_devclass;
DRIVER_MODULE(thunder_mdio, ofwbus, thunder_mdio_fdt_driver,
thunder_mdio_fdt_devclass, 0, 0);
EARLY_DRIVER_MODULE(thunder_mdio, ofwbus, thunder_mdio_fdt_driver,
thunder_mdio_fdt_devclass, 0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
static int
thunder_mdio_fdt_probe(device_t dev)