summaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-2.6.28/105-ar2315_pci.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-03-22 18:33:08 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-03-22 18:33:08 +0000
commit3387cbae6318b9e030323a76da64a2951328e93b (patch)
tree1d01d7472908cc376880f236edf02b84e9fdff5f /target/linux/atheros/patches-2.6.28/105-ar2315_pci.patch
parentbb63dea4fb422d0009c2e701ffb9993f5086f987 (diff)
downloadmaster-31e0f0ae-3387cbae6318b9e030323a76da64a2951328e93b.tar.gz
master-31e0f0ae-3387cbae6318b9e030323a76da64a2951328e93b.tar.bz2
master-31e0f0ae-3387cbae6318b9e030323a76da64a2951328e93b.zip
atheros: fix gpio interrupt handling on 2315
SVN-Revision: 14973
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);