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-uart and nvidia, te...
details: https://anonhg.NetBSD.org/src/rev/e836e3bfe938
branches: trunk
changeset: 353843:e836e3bfe938
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu May 25 23:42:44 2017 +0000
description:
Match nvidia,tegra210-uart and nvidia,tegra20-uart compat strings.
diffstat:
sys/arch/arm/nvidia/tegra_com.c | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r 9606773c2b28 -r e836e3bfe938 sys/arch/arm/nvidia/tegra_com.c
--- a/sys/arch/arm/nvidia/tegra_com.c Thu May 25 23:26:48 2017 +0000
+++ b/sys/arch/arm/nvidia/tegra_com.c Thu May 25 23:42:44 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_com.c,v 1.5 2015/12/22 22:10:36 jmcneill Exp $ */
+/* $NetBSD: tegra_com.c,v 1.6 2017/05/25 23:42:44 jmcneill Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: tegra_com.c,v 1.5 2015/12/22 22:10:36 jmcneill Exp $");
+__KERNEL_RCSID(1, "$NetBSD: tegra_com.c,v 1.6 2017/05/25 23:42:44 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -65,7 +65,12 @@
static int
tegra_com_match(device_t parent, cfdata_t cf, void *aux)
{
- const char * const compatible[] = { "nvidia,tegra124-uart", NULL };
+ const char * const compatible[] = {
+ "nvidia,tegra210-uart",
+ "nvidia,tegra124-uart",
+ "nvidia,tegra20-uart",
+ NULL
+ };
struct fdt_attach_args * const faa = aux;
return of_match_compatible(faa->faa_phandle, compatible);
Home |
Main Index |
Thread Index |
Old Index