public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel•crashing.org>
To: Olaf Hering <olaf@aepfle•de>
Cc: linuxppc-dev@ozlabs•org
Subject: Re: IDE not found on Performa due to interrupt breakage
Date: Thu, 21 Sep 2006 21:56:21 +1000	[thread overview]
Message-ID: <1158839781.26347.106.camel@localhost.localdomain> (raw)
In-Reply-To: <20060921115030.GA16732@aepfle.de>

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);
 

  reply	other threads:[~2006-09-21 11:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-21 11:50 IDE not found on Performa due to interrupt breakage Olaf Hering
2006-09-21 11:56 ` Benjamin Herrenschmidt [this message]
2006-09-21 14:14   ` Olaf Hering

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1158839781.26347.106.camel@localhost.localdomain \
    --to=benh@kernel$(echo .)crashing.org \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    --cc=olaf@aepfle$(echo .)de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox