ar71xx: fix PCI IRQ map of the WP543
authorGabor Juhos <juhosg@openwrt.org>
Tue, 20 Oct 2009 12:59:39 +0000 (12:59 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 20 Oct 2009 12:59:39 +0000 (12:59 +0000)
SVN-Revision: 18099

target/linux/ar71xx/files/arch/mips/ar71xx/mach-wp543.c

index c644448144a388f1e483126e043eef1110986a58..fee4b98ba040b7599f2797179f11a1f596a085b8 100644 (file)
@@ -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,
        }
 };