Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/fdt Initialize gic softc dma tag



details:   https://anonhg.NetBSD.org/src/rev/9072790a841e
branches:  trunk
changeset: 994479:9072790a841e
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Nov 10 01:24:06 2018 +0000

description:
Initialize gic softc dma tag

diffstat:

 sys/arch/arm/fdt/gicv3_fdt.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r f29469ed1290 -r 9072790a841e sys/arch/arm/fdt/gicv3_fdt.c
--- a/sys/arch/arm/fdt/gicv3_fdt.c      Fri Nov 09 23:36:58 2018 +0000
+++ b/sys/arch/arm/fdt/gicv3_fdt.c      Sat Nov 10 01:24:06 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gicv3_fdt.c,v 1.3 2018/09/29 18:27:36 jmcneill Exp $ */
+/* $NetBSD: gicv3_fdt.c,v 1.4 2018/11/10 01:24:06 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2015-2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
 #define        _INTR_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gicv3_fdt.c,v 1.3 2018/09/29 18:27:36 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gicv3_fdt.c,v 1.4 2018/11/10 01:24:06 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -136,6 +136,7 @@
        sc->sc_phandle = phandle;
        sc->sc_gic.sc_dev = self;
        sc->sc_gic.sc_bst = faa->faa_bst;
+       sc->sc_gic.sc_dmat = faa->faa_dmat;
 
        error = gicv3_fdt_map_registers(sc);
        if (error) {



Home | Main Index | Thread Index | Old Index