Module Name: src
Committed By: jmcneill
Date: Sun May 3 01:26:44 UTC 2015
Modified Files:
src/sys/arch/arm/nvidia: tegra_pcie.c
Log Message:
coherent dma tag doesnt quite work
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/nvidia/tegra_pcie.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/arm/nvidia/tegra_pcie.c
diff -u src/sys/arch/arm/nvidia/tegra_pcie.c:1.1 src/sys/arch/arm/nvidia/tegra_pcie.c:1.2
--- src/sys/arch/arm/nvidia/tegra_pcie.c:1.1 Sun May 3 01:07:44 2015
+++ src/sys/arch/arm/nvidia/tegra_pcie.c Sun May 3 01:26:44 2015
@@ -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 <[email protected]>
@@ -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 @@ tegra_pcie_attach(device_t parent, devic
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,