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)
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to