mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-20 05:15:19 +02:00
[lantiq]
* fix external interrupts git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27687 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0dd0ee4944
commit
4b388ef792
20
target/linux/lantiq/patches-2.6.39/999-fix-eiu.patch
Normal file
20
target/linux/lantiq/patches-2.6.39/999-fix-eiu.patch
Normal file
@ -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++) {
|
Loading…
Reference in New Issue
Block a user