summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/patches-3.8/016-MIPS-ath79-allow-to-specify-bus-number-in-PCI-IRQ-ma.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-07-14 14:05:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-07-14 14:05:12 +0000
commit8d5d96e8338d436d6e46925932b687fa875a072a (patch)
tree2f29408c0b63117563142f9aa9fb8e7c9fd88cf4 /target/linux/ar71xx/patches-3.8/016-MIPS-ath79-allow-to-specify-bus-number-in-PCI-IRQ-ma.patch
parentd1238718c23a818b1be2fca068974d8fb916a599 (diff)
downloadmtk-20170518-8d5d96e8338d436d6e46925932b687fa875a072a.zip
mtk-20170518-8d5d96e8338d436d6e46925932b687fa875a072a.tar.gz
mtk-20170518-8d5d96e8338d436d6e46925932b687fa875a072a.tar.bz2
ar71xx: remove linux 3.8
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37290
Diffstat (limited to 'target/linux/ar71xx/patches-3.8/016-MIPS-ath79-allow-to-specify-bus-number-in-PCI-IRQ-ma.patch')
-rw-r--r--target/linux/ar71xx/patches-3.8/016-MIPS-ath79-allow-to-specify-bus-number-in-PCI-IRQ-ma.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/target/linux/ar71xx/patches-3.8/016-MIPS-ath79-allow-to-specify-bus-number-in-PCI-IRQ-ma.patch b/target/linux/ar71xx/patches-3.8/016-MIPS-ath79-allow-to-specify-bus-number-in-PCI-IRQ-ma.patch
deleted file mode 100644
index 477bddb..0000000
--- a/target/linux/ar71xx/patches-3.8/016-MIPS-ath79-allow-to-specify-bus-number-in-PCI-IRQ-ma.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 53ba4919664636487155c810fb49781169780e0c Mon Sep 17 00:00:00 2001
-From: Gabor Juhos <juhosg@openwrt.org>
-Date: Sun, 3 Feb 2013 09:58:37 +0000
-Subject: [PATCH] MIPS: ath79: allow to specify bus number in PCI IRQ maps
-
-commit 617fed41e98417f3ea3e9974be251e125c8796f2 upstream.
-
-This is needed for multiple PCI bus support.
-
-Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
-Patchwork: http://patchwork.linux-mips.org/patch/4913/
-Signed-off-by: John Crispin <blogic@openwrt.org>
----
- arch/mips/ath79/pci.c | 4 +++-
- arch/mips/ath79/pci.h | 1 +
- 2 files changed, 4 insertions(+), 1 deletion(-)
-
---- a/arch/mips/ath79/pci.c
-+++ b/arch/mips/ath79/pci.c
-@@ -75,7 +75,9 @@ int __init pcibios_map_irq(const struct
- const struct ath79_pci_irq *entry;
-
- entry = &ath79_pci_irq_map[i];
-- if (entry->slot == slot && entry->pin == pin) {
-+ if (entry->bus == dev->bus->number &&
-+ entry->slot == slot &&
-+ entry->pin == pin) {
- irq = entry->irq;
- break;
- }
---- a/arch/mips/ath79/pci.h
-+++ b/arch/mips/ath79/pci.h
-@@ -14,6 +14,7 @@
- #define _ATH79_PCI_H
-
- struct ath79_pci_irq {
-+ int bus;
- u8 slot;
- u8 pin;
- int irq;