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-apbdma



details:   https://anonhg.NetBSD.org/src/rev/1501b74910fb
branches:  trunk
changeset: 356416:1501b74910fb
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Sep 23 23:58:18 2017 +0000

description:
Match nvidia,tegra210-apbdma

diffstat:

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

diffs (31 lines):

diff -r db885d15e313 -r 1501b74910fb sys/arch/arm/nvidia/tegra_apbdma.c
--- a/sys/arch/arm/nvidia/tegra_apbdma.c        Sat Sep 23 23:58:04 2017 +0000
+++ b/sys/arch/arm/nvidia/tegra_apbdma.c        Sat Sep 23 23:58:18 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_apbdma.c,v 1.3 2017/05/03 13:13:12 jakllsch Exp $ */
+/* $NetBSD: tegra_apbdma.c,v 1.4 2017/09/23 23:58:18 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_apbdma.c,v 1.3 2017/05/03 13:13:12 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_apbdma.c,v 1.4 2017/09/23 23:58:18 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -94,7 +94,11 @@
 static int
 tegra_apbdma_match(device_t parent, cfdata_t cf, void *aux)
 {
-       const char * const compatible[] = { "nvidia,tegra124-apbdma", NULL };
+       const char * const compatible[] = {
+               "nvidia,tegra210-apbdma",
+               "nvidia,tegra124-apbdma",
+               NULL
+       };
        struct fdt_attach_args * const faa = aux;
 
        return of_match_compatible(faa->faa_phandle, compatible);



Home | Main Index | Thread Index | Old Index