ar71xx: fix PCI IRQ map of the WP543
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 20 Oct 2009 12:59:39 +0000 (12:59 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 20 Oct 2009 12:59:39 +0000 (12:59 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18099 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index c644448..fee4b98 100644 (file)
@@ -43,13 +43,17 @@ static struct spi_board_info wp543_spi_info[] = {
 
 static struct ar71xx_pci_irq wp543_pci_irqs[] __initdata = {
        {
 
 static struct ar71xx_pci_irq wp543_pci_irqs[] __initdata = {
        {
-               .slot   = 1,
+               .slot   = 0,
                .pin    = 1,
                .irq    = AR71XX_PCI_IRQ_DEV0,
        }, {
                .slot   = 1,
                .pin    = 1,
                .irq    = AR71XX_PCI_IRQ_DEV0,
        }, {
                .slot   = 1,
-               .pin    = 2,
+               .pin    = 1,
                .irq    = AR71XX_PCI_IRQ_DEV1,
                .irq    = AR71XX_PCI_IRQ_DEV1,
+       }, {
+               .slot   = 2,
+               .pin    = 1,
+               .irq    = AR71XX_PCI_IRQ_DEV2,
        }
 };
 
        }
 };
 
This page took 0.022861 seconds and 4 git commands to generate.