fix irq issue (ap70 eth1)
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 24 Oct 2006 19:53:57 +0000 (19:53 +0000)
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 24 Oct 2006 19:53:57 +0000 (19:53 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5288 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/aruba-2.6/patches/002-irq.patch

index f6b9425..137f18d 100644 (file)
@@ -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;
This page took 0.024026 seconds and 4 git commands to generate.