summaryrefslogtreecommitdiff
path: root/target/linux/atheros/patches-2.6.28/105-ar2315_pci.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-22 18:33:08 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-22 18:33:08 +0000
commitcc6a33cf19bc80cd38322e0ea2de9e1051d0dfc7 (patch)
tree2e1d1d0ade800cff2ac8cc89e9f1cb23f3caa925 /target/linux/atheros/patches-2.6.28/105-ar2315_pci.patch
parentb0999155a452dcac2a51eac7be3085bf588b7aba (diff)
atheros: fix gpio interrupt handling on 2315
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14973 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros/patches-2.6.28/105-ar2315_pci.patch')
-rw-r--r--target/linux/atheros/patches-2.6.28/105-ar2315_pci.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/atheros/patches-2.6.28/105-ar2315_pci.patch b/target/linux/atheros/patches-2.6.28/105-ar2315_pci.patch
index 389a0ec214..69c3349230 100644
--- a/target/linux/atheros/patches-2.6.28/105-ar2315_pci.patch
+++ b/target/linux/atheros/patches-2.6.28/105-ar2315_pci.patch
@@ -257,8 +257,8 @@
+ default y
--- a/arch/mips/ar231x/ar2315.c
+++ b/arch/mips/ar231x/ar2315.c
-@@ -61,6 +61,27 @@ static inline void ar2315_gpio_irq(void)
- do_IRQ(AR531X_GPIO_IRQ_BASE + fls(pend) - 1);
+@@ -63,6 +63,27 @@ static inline void ar2315_gpio_irq(void)
+ do_IRQ(AR531X_GPIO_IRQ_BASE + bit);
}
+#ifdef CONFIG_ATHEROS_AR2315_PCI
@@ -285,7 +285,7 @@
/*
* Called when an interrupt is received, this function
-@@ -79,6 +100,10 @@ ar2315_irq_dispatch(void)
+@@ -81,6 +102,10 @@ ar2315_irq_dispatch(void)
do_IRQ(AR2315_IRQ_WLAN0_INTRS);
else if (pending & CAUSEF_IP4)
do_IRQ(AR2315_IRQ_ENET0_INTRS);