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 Don't call tegra_pcie_reset_port for now...
details: https://anonhg.NetBSD.org/src/rev/9fa022e1e697
branches: trunk
changeset: 356891:9fa022e1e697
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Oct 19 16:01:58 2017 +0000
description:
Don't call tegra_pcie_reset_port for now - it makes tk1 re @ pci not work
diffstat:
sys/arch/arm/nvidia/tegra_pcie.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (44 lines):
diff -r e3746f25e8f8 -r 9fa022e1e697 sys/arch/arm/nvidia/tegra_pcie.c
--- a/sys/arch/arm/nvidia/tegra_pcie.c Thu Oct 19 11:28:30 2017 +0000
+++ b/sys/arch/arm/nvidia/tegra_pcie.c Thu Oct 19 16:01:58 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_pcie.c,v 1.22 2017/09/27 10:19:13 jmcneill Exp $ */
+/* $NetBSD: tegra_pcie.c,v 1.23 2017/10/19 16:01:58 skrll 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.22 2017/09/27 10:19:13 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_pcie.c,v 1.23 2017/10/19 16:01:58 skrll Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -355,6 +355,7 @@
}
}
+#if 0
static void
tegra_pcie_reset_port(struct tegra_pcie_softc * const sc, int index)
{
@@ -370,6 +371,7 @@
val |= AFI_PEXn_CTRL_RST_L;
bus_space_write_4(sc->sc_bst, sc->sc_bsh_afi, AFI_PEXn_CTRL_REG(index), val);
}
+#endif
static void
tegra_pcie_enable_ports(struct tegra_pcie_softc * const sc)
@@ -400,7 +402,9 @@
val |= AFI_PEXn_CTRL_REFCLK_OVERRIDE_EN;
bus_space_write_4(sc->sc_bst, sc->sc_bsh_afi, AFI_PEXn_CTRL_REG(index), val);
+#if 0
tegra_pcie_reset_port(sc, index);
+#endif
}
}
Home |
Main Index |
Thread Index |
Old Index