Module Name: src
Committed By: jmcneill
Date: Fri Feb 27 18:26:49 UTC 2015
Modified Files:
src/sys/arch/arm/cortex: a9tmr.c
Log Message:
match on Cortex-A5
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/cortex/a9tmr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/cortex/a9tmr.c
diff -u src/sys/arch/arm/cortex/a9tmr.c:1.10 src/sys/arch/arm/cortex/a9tmr.c:1.11
--- src/sys/arch/arm/cortex/a9tmr.c:1.10 Thu Jan 8 10:38:08 2015
+++ src/sys/arch/arm/cortex/a9tmr.c Fri Feb 27 18:26:49 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: a9tmr.c,v 1.10 2015/01/08 10:38:08 hkenken Exp $ */
+/* $NetBSD: a9tmr.c,v 1.11 2015/02/27 18:26:49 jmcneill Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: a9tmr.c,v 1.10 2015/01/08 10:38:08 hkenken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: a9tmr.c,v 1.11 2015/02/27 18:26:49 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -96,7 +96,8 @@ a9tmr_match(device_t parent, cfdata_t cf
if ((armreg_pfr1_read() & ARM_PFR1_GTIMER_MASK) != 0)
return 0;
- if (!CPU_ID_CORTEX_A9_P(curcpu()->ci_arm_cpuid))
+ if (!CPU_ID_CORTEX_A9_P(curcpu()->ci_arm_cpuid) &&
+ !CPU_ID_CORTEX_A5_P(curcpu()->ci_arm_cpuid))
return 0;
if (strcmp(mpcaa->mpcaa_name, cf->cf_name) != 0)