[LEDE-DEV] [OpenWrt-Devel] [PATCH v3 1/4] kernel: backport dwc pci enumeration fix
Tim Harvey
tharvey at gateworks.com
Thu Feb 15 08:34:35 PST 2018
Backport of: http://patchwork.ozlabs.org/patch/860701/
Signed-off-by: Tim Harvey <tharvey at gateworks.com>
---
.../generic/pending-4.14/812-pci-dwc-fix-enumeration.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
create mode 100644 target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch
diff --git a/target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch b/target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch
new file mode 100644
index 0000000..ce9e815
--- /dev/null
+++ b/target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch
@@ -0,0 +1,11 @@
+--- a/drivers/pci/dwc/pcie-designware-host.c
++++ b/drivers/pci/dwc/pcie-designware-host.c
+@@ -607,7 +607,7 @@ void dw_pcie_setup_rc(struct pcie_port *
+ /* setup bus numbers */
+ val = dw_pcie_readl_dbi(pci, PCI_PRIMARY_BUS);
+ val &= 0xff000000;
+- val |= 0x00010100;
++ val |= 0x00ff0100;
+ dw_pcie_writel_dbi(pci, PCI_PRIMARY_BUS, val);
+
+ /* setup command register */
--
2.7.4
More information about the Lede-dev
mailing list