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-pcie compat string.



details:   https://anonhg.NetBSD.org/src/rev/290f2d57cf55
branches:  trunk
changeset: 824184:290f2d57cf55
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Fri May 26 20:14:17 2017 +0000

description:
Match nvidia,tegra210-pcie compat string.

diffstat:

 sys/arch/arm/nvidia/tegra_pcie.c |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r 8b20611bbbc0 -r 290f2d57cf55 sys/arch/arm/nvidia/tegra_pcie.c
--- a/sys/arch/arm/nvidia/tegra_pcie.c  Fri May 26 20:08:02 2017 +0000
+++ b/sys/arch/arm/nvidia/tegra_pcie.c  Fri May 26 20:14:17 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_pcie.c,v 1.17 2017/04/16 22:38:04 jmcneill Exp $ */
+/* $NetBSD: tegra_pcie.c,v 1.18 2017/05/26 20:14:17 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_pcie.c,v 1.17 2017/04/16 22:38:04 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_pcie.c,v 1.18 2017/05/26 20:14:17 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -125,7 +125,11 @@
 static int
 tegra_pcie_match(device_t parent, cfdata_t cf, void *aux)
 {
-       const char * const compatible[] = { "nvidia,tegra124-pcie", NULL };
+       const char * const compatible[] = {
+               "nvidia,tegra210-pcie",
+               "nvidia,tegra124-pcie",
+               NULL
+       };
        struct fdt_attach_args * const faa = aux;
 
        return of_match_compatible(faa->faa_phandle, compatible);



Home | Main Index | Thread Index | Old Index