svn commit: r346865 - head/sys/powerpc/powernv

Justin Hibbits jhibbits at FreeBSD.org
Mon Apr 29 01:10:59 UTC 2019


Author: jhibbits
Date: Mon Apr 29 01:10:57 2019
New Revision: 346865
URL: https://svnweb.freebsd.org/changeset/base/346865

Log:
  powerpc: Make OPAL root node probe at bus pass
  
  This way its children can attach earlier if needed, and some subsystems are
  attached earlier, like the asynchronous token management.
  
  MFC after:	2 weeks

Modified:
  head/sys/powerpc/powernv/opal_dev.c

Modified: head/sys/powerpc/powernv/opal_dev.c
==============================================================================
--- head/sys/powerpc/powernv/opal_dev.c	Mon Apr 29 00:57:47 2019	(r346864)
+++ head/sys/powerpc/powernv/opal_dev.c	Mon Apr 29 01:10:57 2019	(r346865)
@@ -95,7 +95,8 @@ static driver_t opaldev_driver = {
 
 static devclass_t opaldev_devclass;
 
-DRIVER_MODULE(opaldev, ofwbus, opaldev_driver, opaldev_devclass, 0, 0);
+EARLY_DRIVER_MODULE(opaldev, ofwbus, opaldev_driver, opaldev_devclass, 0, 0,
+    BUS_PASS_BUS);
 
 static void opal_heartbeat(void);
 static void opal_handle_messages(void);


More information about the svn-src-all mailing list