summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-10-20 12:59:39 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-10-20 12:59:39 +0000
commit053e9ab0671020dd518ec76f5edbf2297ad9766c (patch)
tree2a9e54e685c58a3c7246bae6e87405345b51f2eb
parentf97b87b6e7dd2577a40d77acebd60b9606ab41a4 (diff)
downloadmtk-20170518-053e9ab0671020dd518ec76f5edbf2297ad9766c.zip
mtk-20170518-053e9ab0671020dd518ec76f5edbf2297ad9766c.tar.gz
mtk-20170518-053e9ab0671020dd518ec76f5edbf2297ad9766c.tar.bz2
ar71xx: fix PCI IRQ map of the WP543
SVN-Revision: 18099
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c
index c644448..fee4b98 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c
@@ -43,13 +43,17 @@ static struct spi_board_info wp543_spi_info[] = {
static struct ar71xx_pci_irq wp543_pci_irqs[] __initdata = {
{
- .slot = 1,
+ .slot = 0,
.pin = 1,
.irq = AR71XX_PCI_IRQ_DEV0,
}, {
.slot = 1,
- .pin = 2,
+ .pin = 1,
.irq = AR71XX_PCI_IRQ_DEV1,
+ }, {
+ .slot = 2,
+ .pin = 1,
+ .irq = AR71XX_PCI_IRQ_DEV2,
}
};