Author: ian
Date: Tue Sep  2 02:54:55 2014
New Revision: 270955
URL: http://svnweb.freebsd.org/changeset/base/270955

Log:
  The ocotp driver provides access to registers containing chip configuration
  data that is needed by other drivers, so make it an EARLY_DRIVER_MODULE()
  that loads before just about anything else.

Modified:
  head/sys/arm/freescale/fsl_ocotp.c

Modified: head/sys/arm/freescale/fsl_ocotp.c
==============================================================================
--- head/sys/arm/freescale/fsl_ocotp.c  Mon Sep  1 22:53:47 2014        
(r270954)
+++ head/sys/arm/freescale/fsl_ocotp.c  Tue Sep  2 02:54:55 2014        
(r270955)
@@ -200,5 +200,6 @@ static driver_t ocotp_driver = {
 
 static devclass_t ocotp_devclass;
 
-DRIVER_MODULE(ocotp, simplebus, ocotp_driver, ocotp_devclass, 0, 0);
+EARLY_DRIVER_MODULE(ocotp, simplebus, ocotp_driver, ocotp_devclass, 0, 0,
+    BUS_PASS_CPU + BUS_PASS_ORDER_FIRST);
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to