Thread (3 messages) flat view 3 messages, 2 authors, 2006-09-21

Re: IDE not found on Performa due to interrupt breakage

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2006-09-21 11:56:37

On Thu, 2006-09-21 at 13:50 +0200, Olaf Hering wrote:
The IDE controller is not usable on a Performa 6400 with 2.6.18:

<6>hda: Enabling MultiWord DMA 2
<4>ide0: Disabled unable to get IRQ 13.
<6>ide0: failed to initialize IDE interface
 .../...

Looks like a workaround for bogus OF bitrotted... What about this patch:

Index: linux-work/drivers/ide/ppc/pmac.c
===================================================================
--- linux-work.orig/drivers/ide/ppc/pmac.c	2006-07-01 13:51:19.000000000 +1000
+++ linux-work/drivers/ide/ppc/pmac.c	2006-09-21 21:55:31.000000000 +1000
@@ -1326,7 +1326,7 @@
 	if (macio_irq_count(mdev) == 0) {
 		printk(KERN_WARNING "ide%d: no intrs for device %s, using 13\n",
 			i, mdev->ofdev.node->full_name);
-		irq = 13;
+		irq = irq_create_mapping(NULL, 13);
 	} else
 		irq = macio_irq(mdev, 0);
 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help