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 coherent dma tag doesnt quite work



details:   https://anonhg.NetBSD.org/src/rev/0327439ec751
branches:  trunk
changeset: 337902:0327439ec751
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun May 03 01:26:44 2015 +0000

description:
coherent dma tag doesnt quite work

diffstat:

 sys/arch/arm/nvidia/tegra_pcie.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 7f40b41cfc81 -r 0327439ec751 sys/arch/arm/nvidia/tegra_pcie.c
--- a/sys/arch/arm/nvidia/tegra_pcie.c  Sun May 03 01:07:44 2015 +0000
+++ b/sys/arch/arm/nvidia/tegra_pcie.c  Sun May 03 01:26:44 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_pcie.c,v 1.1 2015/05/03 01:07:44 jmcneill Exp $ */
+/* $NetBSD: tegra_pcie.c,v 1.2 2015/05/03 01:26:44 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
 #include "locators.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_pcie.c,v 1.1 2015/05/03 01:07:44 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_pcie.c,v 1.2 2015/05/03 01:26:44 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -124,7 +124,11 @@
        int error;
 
        sc->sc_dev = self;
+#if notyet
        sc->sc_dmat = tio->tio_coherent_dmat;
+#else
+       sc->sc_dmat = tio->tio_dmat;
+#endif
        sc->sc_bst = tio->tio_bst;
        sc->sc_intr = loc->loc_intr;
        if (bus_space_map(sc->sc_bst, TEGRA_PCIE_AFI_BASE, TEGRA_PCIE_AFI_SIZE,



Home | Main Index | Thread Index | Old Index