summaryrefslogtreecommitdiff
path: root/target/linux/lantiq
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-18 16:27:11 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-18 16:27:11 +0000
commit4b388ef792899cff8640179064a0885d335004eb (patch)
tree9093056a1cfd0044fc7f241f3701cac5af5b1fd4 /target/linux/lantiq
parent0dd0ee49446c28f754f86795d566a90a64e1bcc3 (diff)
[lantiq]
* fix external interrupts git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27687 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq')
-rw-r--r--target/linux/lantiq/patches-2.6.39/999-fix-eiu.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/lantiq/patches-2.6.39/999-fix-eiu.patch b/target/linux/lantiq/patches-2.6.39/999-fix-eiu.patch
new file mode 100644
index 0000000000..03663b50db
--- /dev/null
+++ b/target/linux/lantiq/patches-2.6.39/999-fix-eiu.patch
@@ -0,0 +1,20 @@
+--- a/arch/mips/lantiq/irq.c
++++ b/arch/mips/lantiq/irq.c
+@@ -132,7 +132,7 @@
+ static unsigned int ltq_startup_eiu_irq(struct irq_data *d)
+ {
+ int i;
+- int irq_nr = d->irq - INT_NUM_IRQ0;
++ int irq_nr = d->irq;
+
+ ltq_enable_irq(d);
+ for (i = 0; i < MAX_EIU; i++) {
+@@ -156,7 +156,7 @@
+ static void ltq_shutdown_eiu_irq(struct irq_data *d)
+ {
+ int i;
+- int irq_nr = d->irq - INT_NUM_IRQ0;
++ int irq_nr = d->irq;
+
+ ltq_disable_irq(d);
+ for (i = 0; i < MAX_EIU; i++) {