svn commit: r275208 - head/sys/arm/arm
Andrew Turner
andrew at FreeBSD.org
Fri Nov 28 11:49:27 UTC 2014
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)
More information about the svn-src-head
mailing list