Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2019 18:57:48 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r351099 - head/sys/arm/allwinner
Message-ID:  <201908151857.x7FIvmFh098439@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: manu
Date: Thu Aug 15 18:57:48 2019
New Revision: 351099
URL: https://svnweb.freebsd.org/changeset/base/351099

Log:
  arm: allwinner: Set aw_ccu to BUS_PASS_BUS
  
  In r350842 I've switched the bus pass to resource so it matches the other
  clock drivers but this cannot work as this drivers is meant to match
  the dts node '/clocks' and if we don't do it at this pass simplebus is
  catching this node and we cannot attach.
  This solve booting on Allwinner boards that are still using /clocks (A20 SoC)
  
  MFC after:	3 days

Modified:
  head/sys/arm/allwinner/aw_ccu.c

Modified: head/sys/arm/allwinner/aw_ccu.c
==============================================================================
--- head/sys/arm/allwinner/aw_ccu.c	Thu Aug 15 18:46:27 2019	(r351098)
+++ head/sys/arm/allwinner/aw_ccu.c	Thu Aug 15 18:57:48 2019	(r351099)
@@ -250,6 +250,6 @@ DEFINE_CLASS_1(aw_ccu, aw_ccu_driver, aw_ccu_methods,
 static devclass_t aw_ccu_devclass;
 
 EARLY_DRIVER_MODULE(aw_ccu, simplebus, aw_ccu_driver, aw_ccu_devclass,
-    0, 0, BUS_PASS_RESOURCE + BUS_PASS_ORDER_MIDDLE);
+    0, 0, BUS_PASS_BUS + BUS_PASS_ORDER_MIDDLE);
 
 MODULE_VERSION(aw_ccu, 1);



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