aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/vnic
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2015-11-06 14:40:51 +0000
committerAndrew Turner <andrew@FreeBSD.org>2015-11-06 14:40:51 +0000
commit576aa559db2b45c61f566a9dc4a89325e4bc2f48 (patch)
treeaf5d7fcdcfc4c22ae6fc4f9f3f0aa3e0fa68aee4 /sys/dev/vnic
parent1df3f63ac5f9f7202e7b2d8d992cedb83f54f713 (diff)
downloadsrc-576aa559db2b45c61f566a9dc4a89325e4bc2f48.tar.gz
src-576aa559db2b45c61f566a9dc4a89325e4bc2f48.zip
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
Notes
Notes: svn path=/head/; revision=290448
Diffstat (limited to 'sys/dev/vnic')
-rw-r--r--sys/dev/vnic/thunder_mdio_fdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vnic/thunder_mdio_fdt.c b/sys/dev/vnic/thunder_mdio_fdt.c
index cd2d1cff9f09..b24be1dc3ee6 100644
--- a/sys/dev/vnic/thunder_mdio_fdt.c
+++ b/sys/dev/vnic/thunder_mdio_fdt.c
@@ -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)