summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>2008-01-12 00:25:14 +0100
committerRalf Baechle <ralf@linux-mips.org>2008-01-15 01:04:42 +0000
commitf6c0f32ee8d21e800097fc35ba8ab2b5a3b9bdfa (patch)
tree207e4b67003eab4c5e9eb9e8f014601f2049b2eb /arch/mips
parent2f02c15a5d963007bd721d76f644c9491f6fec06 (diff)
downloadop-kernel-dev-f6c0f32ee8d21e800097fc35ba8ab2b5a3b9bdfa.zip
op-kernel-dev-f6c0f32ee8d21e800097fc35ba8ab2b5a3b9bdfa.tar.gz
[MIPS] Cobalt: Fix ethernet interrupts for RaQ1
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>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/pci/fixup-cobalt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/fixup-cobalt.c b/arch/mips/pci/fixup-cobalt.c
index f7df114..9553b14 100644
--- a/arch/mips/pci/fixup-cobalt.c
+++ b/arch/mips/pci/fixup-cobalt.c
@@ -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)
OpenPOWER on IntegriCloud