svn commit: r295660 - head/sys/arm/ti

Svatopluk Kraus skra at FreeBSD.org
Tue Feb 16 13:40:25 UTC 2016


Author: skra
Date: Tue Feb 16 13:40:23 2016
New Revision: 295660
URL: https://svnweb.freebsd.org/changeset/base/295660

Log:
  Use EARLY_DRIVER_MODULE() for ti_scm driver to be attached before
  am335x_prcm driver which uses it. Used BUS_PASS_BUS is a quick pick
  for now and may be revised when other drivers start using multipass
  feature.
  
  This is needed after an update of Linux dts files done in r295436.

Modified:
  head/sys/arm/ti/ti_scm.c

Modified: head/sys/arm/ti/ti_scm.c
==============================================================================
--- head/sys/arm/ti/ti_scm.c	Tue Feb 16 12:19:06 2016	(r295659)
+++ head/sys/arm/ti/ti_scm.c	Tue Feb 16 13:40:23 2016	(r295660)
@@ -170,4 +170,5 @@ static driver_t ti_scm_driver = {
 
 static devclass_t ti_scm_devclass;
 
-DRIVER_MODULE(ti_scm, simplebus, ti_scm_driver, ti_scm_devclass, 0, 0);
+EARLY_DRIVER_MODULE(ti_scm, simplebus, ti_scm_driver, ti_scm_devclass, 0, 0,
+    BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);


More information about the svn-src-head mailing list