handle PCI_CORE interrupt as well
SVN-Revision: 16358
This commit is contained in:
parent
bb698428f0
commit
9668bbeea9
1 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* Atheros AR71xx SoC specific interrupt handling
|
* Atheros AR71xx SoC specific interrupt handling
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008 Gabor Juhos <juhosg@openwrt.org>
|
* Copyright (C) 2008-2009 Gabor Juhos <juhosg@openwrt.org>
|
||||||
* Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
|
* Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
|
||||||
*
|
*
|
||||||
* Parts of this file are based on Atheros' 2.6.15 BSP
|
* Parts of this file are based on Atheros' 2.6.15 BSP
|
||||||
|
@ -38,6 +38,9 @@ static void ar71xx_pci_irq_dispatch(void)
|
||||||
else if (pending & PCI_INT_DEV2)
|
else if (pending & PCI_INT_DEV2)
|
||||||
do_IRQ(AR71XX_PCI_IRQ_DEV2);
|
do_IRQ(AR71XX_PCI_IRQ_DEV2);
|
||||||
|
|
||||||
|
else if (pending & PCI_INT_CORE)
|
||||||
|
do_IRQ(AR71XX_PCI_IRQ_CORE);
|
||||||
|
|
||||||
else
|
else
|
||||||
spurious_interrupt();
|
spurious_interrupt();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue