diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-03-02 00:32:54 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-03-02 00:32:54 +0000 |
commit | a9c584c2779eb0f3efdff38b2e09a4fb67142fa0 (patch) | |
tree | 04d1b83fb538eaf3ced98140734accecec3f6cad | |
parent | 107e0c6d1f37fa474b8cc667d5a2e8d0c47eafea (diff) | |
download | upstream-a9c584c2779eb0f3efdff38b2e09a4fb67142fa0.tar.gz upstream-a9c584c2779eb0f3efdff38b2e09a4fb67142fa0.tar.bz2 upstream-a9c584c2779eb0f3efdff38b2e09a4fb67142fa0.zip |
Revert "[cns3xxx]: clean up PCI bus topology" (r35079)
It breaks PCIe IRQ mapping and possibly other things
SVN-Revision: 35842
-rw-r--r-- | target/linux/cns3xxx/patches-3.3/066-pcie_bus_topology.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/target/linux/cns3xxx/patches-3.3/066-pcie_bus_topology.patch b/target/linux/cns3xxx/patches-3.3/066-pcie_bus_topology.patch deleted file mode 100644 index 269a0fbf6c..0000000000 --- a/target/linux/cns3xxx/patches-3.3/066-pcie_bus_topology.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- a/arch/arm/mach-cns3xxx/pcie.c -+++ b/arch/arm/mach-cns3xxx/pcie.c -@@ -79,9 +79,11 @@ static void __iomem *cns3xxx_pci_cfg_bas - * the first device on the same bus as the CNS PCI bridge. - */ - if (busno == 0) { -- if (slot > 1) -+ if (slot > 0) - return NULL; - type = slot; -+ } else if (busno == 1) { -+ type = CNS3XXX_CFG0_TYPE; - } else { - type = CNS3XXX_CFG1_TYPE; - } -@@ -428,8 +430,9 @@ static void __init cns3xxx_pcie_hw_init( - if (!cnspci->linked) - return; - -- /* Set Device Max_Read_Request_Size to 128 byte */ -- devfn = PCI_DEVFN(1, 0); -+ /* Configure Root Complex: Set Device Max_Read_Request_Size to 128 byte */ -+ bus.number = 1; -+ devfn = PCI_DEVFN(0, 0); - pos = pci_bus_find_capability(&bus, devfn, PCI_CAP_ID_EXP); - pci_bus_read_config_word(&bus, devfn, pos + PCI_EXP_DEVCTL, &dc); - dc &= ~(0x3 << 12); /* Clear Device Control Register [14:12] */ |