Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Nov 2014 11:49:27 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r275208 - head/sys/arm/arm
Message-ID:  <201411281149.sASBnREL067801@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Fri Nov 28 11:49:26 2014
New Revision: 275208
URL: https://svnweb.freebsd.org/changeset/base/275208

Log:
  Some device tree configurations place the generic timer under the root
  of the tree and not under simplebus. Update the driver to handle this.
  
  Submitted by:	Julien Grall <julien.grall AT linaro.org>
  MFC after:	1 week

Modified:
  head/sys/arm/arm/generic_timer.c

Modified: head/sys/arm/arm/generic_timer.c
==============================================================================
--- head/sys/arm/arm/generic_timer.c	Fri Nov 28 11:45:53 2014	(r275207)
+++ head/sys/arm/arm/generic_timer.c	Fri Nov 28 11:49:26 2014	(r275208)
@@ -353,6 +353,8 @@ static devclass_t arm_tmr_devclass;
 
 EARLY_DRIVER_MODULE(timer, simplebus, arm_tmr_driver, arm_tmr_devclass, 0, 0,
     BUS_PASS_TIMER + BUS_PASS_ORDER_MIDDLE);
+EARLY_DRIVER_MODULE(timer, ofwbus, arm_tmr_driver, arm_tmr_devclass, 0, 0,
+    BUS_PASS_TIMER + BUS_PASS_ORDER_MIDDLE);
 
 void
 DELAY(int usec)



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