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-ehci and nvidia, te...



details:   https://anonhg.NetBSD.org/src/rev/ea2eb4ddc966
branches:  trunk
changeset: 824146:ea2eb4ddc966
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Thu May 25 23:45:04 2017 +0000

description:
Match nvidia,tegra210-ehci and nvidia,tegra30-ehci compat strings.

diffstat:

 sys/arch/arm/nvidia/tegra_ehci.c |  11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r d20208f0bddf -r ea2eb4ddc966 sys/arch/arm/nvidia/tegra_ehci.c
--- a/sys/arch/arm/nvidia/tegra_ehci.c  Thu May 25 23:43:49 2017 +0000
+++ b/sys/arch/arm/nvidia/tegra_ehci.c  Thu May 25 23:45:04 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_ehci.c,v 1.14 2016/05/23 18:21:14 jmcneill Exp $ */
+/* $NetBSD: tegra_ehci.c,v 1.15 2017/05/25 23:45:04 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_ehci.c,v 1.14 2016/05/23 18:21:14 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_ehci.c,v 1.15 2017/05/25 23:45:04 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -73,7 +73,12 @@
 static int
 tegra_ehci_match(device_t parent, cfdata_t cf, void *aux)
 {
-       const char * const compatible[] = { "nvidia,tegra124-ehci", NULL };
+       const char * const compatible[] = {
+               "nvidia,tegra210-ehci",
+               "nvidia,tegra124-ehci",
+               "nvidia,tegra30-ehci",
+               NULL
+       };
        struct fdt_attach_args * const faa = aux;
 
        return of_match_compatible(faa->faa_phandle, compatible);



Home | Main Index | Thread Index | Old Index