Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2014 23:34:47 +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: r273353 - head/sys/arm/freescale/imx
Message-ID:  <201410202334.s9KNYlAp073601@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Mon Oct 20 23:34:47 2014
New Revision: 273353
URL: https://svnweb.freebsd.org/changeset/base/273353

Log:
  Attach the imx6 CCM driver during BUS_PASS_CPU.  It controls the clocks
  for most on-chip devices and needs to be available before other drivers
  start attaching and asking to have their clocks enabled.

Modified:
  head/sys/arm/freescale/imx/imx6_ccm.c

Modified: head/sys/arm/freescale/imx/imx6_ccm.c
==============================================================================
--- head/sys/arm/freescale/imx/imx6_ccm.c	Mon Oct 20 23:32:34 2014	(r273352)
+++ head/sys/arm/freescale/imx/imx6_ccm.c	Mon Oct 20 23:34:47 2014	(r273353)
@@ -261,5 +261,6 @@ static driver_t ccm_driver = {
 
 static devclass_t ccm_devclass;
 
-DRIVER_MODULE(ccm, simplebus, ccm_driver, ccm_devclass, 0, 0);
+EARLY_DRIVER_MODULE(ccm, simplebus, ccm_driver, ccm_devclass, 0, 0, 
+    BUS_PASS_CPU + BUS_PASS_ORDER_EARLY);
 



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