aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-3.10/105-ar2315_pci.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-07-17 16:36:33 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-07-17 16:36:33 +0000
commitb4c90d72b10cb45e9ebbc211b405d80108eaba8a (patch)
tree3b89bafc51ee6d41443d035d81e09916aaffb4cf /target/linux/atheros/patches-3.10/105-ar2315_pci.patch
parent382ba6ab0c6b8f353a1f04ef3d96e3e1a6dca522 (diff)
downloadmaster-187ad058-b4c90d72b10cb45e9ebbc211b405d80108eaba8a.tar.gz
master-187ad058-b4c90d72b10cb45e9ebbc211b405d80108eaba8a.tar.bz2
master-187ad058-b4c90d72b10cb45e9ebbc211b405d80108eaba8a.zip
atheros: simplify AR2315 misc IRQ (un)masking
Currently AR5312 misc IRQ numbers are used for AR2315+ chips, what cause us to use switch-case to map IRQ number to ISR bit. Introduce AR2315 specific misc IRQs set and simplify interrupt (un)mask operation. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41694 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros/patches-3.10/105-ar2315_pci.patch')
-rw-r--r--target/linux/atheros/patches-3.10/105-ar2315_pci.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/atheros/patches-3.10/105-ar2315_pci.patch b/target/linux/atheros/patches-3.10/105-ar2315_pci.patch
index 8b080d8593..95db399b1f 100644
--- a/target/linux/atheros/patches-3.10/105-ar2315_pci.patch
+++ b/target/linux/atheros/patches-3.10/105-ar2315_pci.patch
@@ -258,7 +258,7 @@
--- a/arch/mips/ar231x/ar2315.c
+++ b/arch/mips/ar231x/ar2315.c
@@ -88,6 +88,28 @@ ar2315_misc_irq_dispatch(void)
- do_IRQ(AR531X_MISC_IRQ_NONE);
+ do_IRQ(AR2315_MISC_IRQ_NONE);
}
+#ifdef CONFIG_ATHEROS_AR2315_PCI