aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/aruba-2.6/patches/002-irq.patch
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-10-24 19:53:57 +0000
committerMike Baker <mbm@openwrt.org>2006-10-24 19:53:57 +0000
commitc8e451be736221518f731226915d7f518aa79b66 (patch)
tree5cc1ce755f4cf17047cb231b17473e020164fef3 /target/linux/aruba-2.6/patches/002-irq.patch
parent35176fec0892342171cd6272958d0b011e43fe60 (diff)
downloadupstream-c8e451be736221518f731226915d7f518aa79b66.tar.gz
upstream-c8e451be736221518f731226915d7f518aa79b66.tar.bz2
upstream-c8e451be736221518f731226915d7f518aa79b66.zip
fix irq issue (ap70 eth1)
SVN-Revision: 5288
Diffstat (limited to 'target/linux/aruba-2.6/patches/002-irq.patch')
-rw-r--r--target/linux/aruba-2.6/patches/002-irq.patch5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/aruba-2.6/patches/002-irq.patch b/target/linux/aruba-2.6/patches/002-irq.patch
index f6b9425d8d..137f18d588 100644
--- a/target/linux/aruba-2.6/patches/002-irq.patch
+++ b/target/linux/aruba-2.6/patches/002-irq.patch
@@ -1,7 +1,7 @@
diff -Nur linux-2.6.17/arch/mips/aruba/irq.c linux-2.6.17-openwrt/arch/mips/aruba/irq.c
--- linux-2.6.17/arch/mips/aruba/irq.c 1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.17-openwrt/arch/mips/aruba/irq.c 2006-10-12 14:32:40.026285000 -0700
-@@ -0,0 +1,282 @@
+@@ -0,0 +1,285 @@
+#include <linux/errno.h>
+#include <linux/init.h>
+#include <linux/kernel_stat.h>
@@ -93,6 +93,9 @@ diff -Nur linux-2.6.17/arch/mips/aruba/irq.c linux-2.6.17-openwrt/arch/mips/arub
+ int ip = irq - GROUP0_IRQ_BASE;
+ switch (mips_machtype) {
+ case MACH_ARUBA_AP70:
++ if (irq >= GROUP4_IRQ_BASE)
++ idt_gpio->gpioistat &= ~(1 << (irq - GROUP4_IRQ_BASE));
++
+ // irqs are in groups of 32
+ // ip is set to the remainder
+ group = ip >> 5;