Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] Fix ethernet interrupts for Cobalt RaQ1
@ 2008-01-11 23:25 Thomas Bogendoerfer
  2008-01-12  7:27 ` Martin Michlmayr
  2008-01-14  0:01 ` Ralf Baechle
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Bogendoerfer @ 2008-01-11 23:25 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf

RAQ1 uses the same interrupt routing as qube2.

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
---

 arch/mips/pci/fixup-cobalt.c |    2 +-
 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)

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-01-14  0:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-11 23:25 [PATCH] Fix ethernet interrupts for Cobalt RaQ1 Thomas Bogendoerfer
2008-01-12  7:27 ` Martin Michlmayr
2008-01-12  7:45   ` Martin Michlmayr
2008-01-14  0:01 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox