svn commit: r273353 - head/sys/arm/freescale/imx
Ian Lepore
ian at FreeBSD.org
Mon Oct 20 23:34:48 UTC 2014
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);
More information about the svn-src-head
mailing list