]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 3913/1: n2100: fix IRQ routing for second ethernet port
authorLennert Buytenhek <buytenh@org.rmk.(none)>
Sun, 29 Oct 2006 13:15:10 +0000 (14:15 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 29 Oct 2006 16:52:17 +0000 (16:52 +0000)
The second ethernet port on the Thecus n2100 was incorrectly assigned
to XINT1 instead of the correct XINT3 (PCI INTB instead of INTD), which
caused that port to be non-functional.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-iop32x/n2100.c

index a2c94a47b2b297aa334fe26374d690a16dc496f8..2499a7707e3ca8288ba84d3a18d1f70ed184b8f6 100644 (file)
@@ -85,7 +85,7 @@ n2100_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
                irq = IRQ_IOP32X_XINT0;
        } else if (PCI_SLOT(dev->devfn) == 2) {
                /* RTL8110SB #2 */
-               irq = IRQ_IOP32X_XINT1;
+               irq = IRQ_IOP32X_XINT3;
        } else if (PCI_SLOT(dev->devfn) == 3) {
                /* Sil3512 */
                irq = IRQ_IOP32X_XINT2;