Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/nvidia Match nvidia, tegra210-timer and nvidia, t...
details: https://anonhg.NetBSD.org/src/rev/c6306aeea12b
branches: trunk
changeset: 353851:c6306aeea12b
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu May 25 23:54:45 2017 +0000
description:
Match nvidia,tegra210-timer and nvidia,tegra20-timer compat strings.
diffstat:
sys/arch/arm/nvidia/tegra_timer.c | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r 00caedde9c49 -r c6306aeea12b sys/arch/arm/nvidia/tegra_timer.c
--- a/sys/arch/arm/nvidia/tegra_timer.c Thu May 25 23:53:50 2017 +0000
+++ b/sys/arch/arm/nvidia/tegra_timer.c Thu May 25 23:54:45 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_timer.c,v 1.5 2017/04/16 12:28:21 jmcneill Exp $ */
+/* $NetBSD: tegra_timer.c,v 1.6 2017/05/25 23:54:45 jmcneill Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_timer.c,v 1.5 2017/04/16 12:28:21 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_timer.c,v 1.6 2017/05/25 23:54:45 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -74,7 +74,12 @@
static int
tegra_timer_match(device_t parent, cfdata_t cf, void *aux)
{
- const char * const compatible[] = { "nvidia,tegra124-timer", NULL };
+ const char * const compatible[] = {
+ "nvidia,tegra210-timer",
+ "nvidia,tegra124-timer",
+ "nvidia,tegra20-timer",
+ NULL
+ };
struct fdt_attach_args * const faa = aux;
return of_match_compatible(faa->faa_phandle, compatible);
Home |
Main Index |
Thread Index |
Old Index