svn commit: r290448 - head/sys/dev/vnic

Andrew Turner andrew at FreeBSD.org
Fri Nov 6 14:40:52 UTC 2015


Author: andrew
Date: Fri Nov  6 14:40:51 2015
New Revision: 290448
URL: https://svnweb.freebsd.org/changeset/base/290448

Log:
  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

Modified:
  head/sys/dev/vnic/thunder_mdio_fdt.c

Modified: head/sys/dev/vnic/thunder_mdio_fdt.c
==============================================================================
--- head/sys/dev/vnic/thunder_mdio_fdt.c	Fri Nov  6 14:36:21 2015	(r290447)
+++ head/sys/dev/vnic/thunder_mdio_fdt.c	Fri Nov  6 14:40:51 2015	(r290448)
@@ -58,8 +58,8 @@ DEFINE_CLASS_1(thunder_mdio, thunder_mdi
 
 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)


More information about the svn-src-all mailing list