summaryrefslogtreecommitdiff
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
commit0a785ebb7d6e86c0d91c5baff1b021294004bd8d (patch)
tree86208c0b85944253d5dcfa242a8f050597d254e9 /target/linux/atheros/patches-3.10/105-ar2315_pci.patch
parentd29b61b5f03a2ddb997f0bc4e1b99951c4897ba7 (diff)
downloadmtk-20170518-0a785ebb7d6e86c0d91c5baff1b021294004bd8d.zip
mtk-20170518-0a785ebb7d6e86c0d91c5baff1b021294004bd8d.tar.gz
mtk-20170518-0a785ebb7d6e86c0d91c5baff1b021294004bd8d.tar.bz2
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> SVN-Revision: 41694
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 8b080d8..95db399 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