X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=target%2Flinux%2Far71xx%2Ffiles%2Farch%2Fmips%2Far71xx%2Firq.c;h=c3ba7ec4379de7697634ec81daeb3403fd0604da;hp=0d5af43d7c67bf3aa75fd917453df4863c4cef1a;hb=3e03373f33465768a7dd1211fbef238fa5df58f1;hpb=5cde913d4b9fcbb5b36991b1afc23f7abb563877 diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/irq.c b/target/linux/ar71xx/files/arch/mips/ar71xx/irq.c index 0d5af43d7c..c3ba7ec437 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/irq.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/irq.c @@ -1,7 +1,7 @@ /* * Atheros AR71xx SoC specific interrupt handling * - * Copyright (C) 2008 Gabor Juhos + * Copyright (C) 2008-2009 Gabor Juhos * Copyright (C) 2008 Imre Kaloz * * Parts of this file are based on Atheros' 2.6.15 BSP @@ -27,7 +27,7 @@ static void ar71xx_pci_irq_dispatch(void) u32 pending; pending = ar71xx_reset_rr(AR71XX_RESET_REG_PCI_INT_STATUS) & - ar71xx_reset_rr(AR71XX_RESET_REG_PCI_INT_ENABLE); + ar71xx_reset_rr(AR71XX_RESET_REG_PCI_INT_ENABLE); if (pending & PCI_INT_DEV0) do_IRQ(AR71XX_PCI_IRQ_DEV0); @@ -38,6 +38,9 @@ static void ar71xx_pci_irq_dispatch(void) else if (pending & PCI_INT_DEV2) do_IRQ(AR71XX_PCI_IRQ_DEV2); + else if (pending & PCI_INT_CORE) + do_IRQ(AR71XX_PCI_IRQ_CORE); + else spurious_interrupt(); }