[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#460337: Fix ethernet interrupts for Cobalt RaQ1



Package: linux-2.6
Version: 2.6.18.dfsg.1-12
Severity: important

The network interface on Cobalt RaQ1 has not worked since we moved
from 2.4 to 2.6.  There were quite a few reports about this on the
debian-mips list.  Thomas Bogendoerfer just posted a patch for this
problem.


----- Forwarded message from Thomas Bogendoerfer <tsbogend@alpha.franken.de> -----

From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Subject: [PATCH] Fix ethernet interrupts for Cobalt RaQ1
Date: Sat, 12 Jan 2008 00:25:14 +0100 (CET)
To: linux-mips@linux-mips.org
cc: ralf@linux-mips.org

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)

----- End forwarded message -----

-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: