]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] Cobalt: Fix ethernet interrupts for RaQ1
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 11 Jan 2008 23:25:14 +0000 (00:25 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 15 Jan 2008 01:04:42 +0000 (01:04 +0000)
RAQ1 uses the same interrupt routing as Qube2.

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/fixup-cobalt.c

index f7df1142912b27266066273d6344cd760a264480..9553b14002dda51a757cf06ccb0bca5483b86c1a 100644 (file)
@@ -177,7 +177,7 @@ static char irq_tab_raq2[] __initdata = {
 
 int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
 {
-       if (cobalt_board_id < COBALT_BRD_ID_QUBE2)
+       if (cobalt_board_id <= COBALT_BRD_ID_QUBE1)
                return irq_tab_qube1[slot];
 
        if (cobalt_board_id == COBALT_BRD_ID_RAQ2)