diff options
Diffstat (limited to 'target/linux/imx6/patches-3.10/0034-PCI-imx6-swizzle-interrupts.patch')
-rw-r--r-- | target/linux/imx6/patches-3.10/0034-PCI-imx6-swizzle-interrupts.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/target/linux/imx6/patches-3.10/0034-PCI-imx6-swizzle-interrupts.patch b/target/linux/imx6/patches-3.10/0034-PCI-imx6-swizzle-interrupts.patch deleted file mode 100644 index d716fe4b6e..0000000000 --- a/target/linux/imx6/patches-3.10/0034-PCI-imx6-swizzle-interrupts.patch +++ /dev/null @@ -1,26 +0,0 @@ -From: Tim Harvey <tharvey@gateworks.com> -Subject: [PATCH 1/5] PCI: imx6: swizzle interrupts - - -Signed-off-by: Tim Harvey <tharvey@gateworks.com> ---- - drivers/pci/host/pcie-designware.c | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - ---- a/drivers/pci/host/pcie-designware.c -+++ b/drivers/pci/host/pcie-designware.c -@@ -447,7 +447,13 @@ int dw_pcie_map_irq(const struct pci_dev - { - struct pcie_port *pp = sys_to_pcie(dev->bus->sysdata); - -- return pp->irq; -+ switch (pin) { -+ case 1: return pp->irq - 3; -+ case 2: return pp->irq - 2; -+ case 3: return pp->irq - 1; -+ case 4: return pp->irq; -+ default: return -1; -+ } - } - - static struct hw_pci dw_pci = { |