Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 2014 02:54:55 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r270955 - head/sys/arm/freescale
Message-ID:  <201409020254.s822stcS034899@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409020254.s822stcS034899>