diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2006-09-21 22:56:30 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-09-22 01:19:58 -0400 |
commit | 69917c26c840e7de94522bf90fb190de63bf92bd (patch) | |
tree | 8ffe260e70dc6bc5be0d010085bec0cebf1ffbd7 /drivers/ide/ppc | |
parent | e102926385b56e593b995ecc433f041b498a49e1 (diff) |
[POWERPC] Fix ohare IDE irq workaround on old powermacs
Looks like a workaround for old bogus OF bitrot... This fixes it and
hence fixes boot on some performa machines.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/ide/ppc')
-rw-r--r-- | drivers/ide/ppc/pmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ppc/pmac.c b/drivers/ide/ppc/pmac.c index fa46856e8068..996c694341bc 100644 --- a/drivers/ide/ppc/pmac.c +++ b/drivers/ide/ppc/pmac.c | |||
@@ -1326,7 +1326,7 @@ pmac_ide_macio_attach(struct macio_dev *mdev, const struct of_device_id *match) | |||
1326 | if (macio_irq_count(mdev) == 0) { | 1326 | if (macio_irq_count(mdev) == 0) { |
1327 | printk(KERN_WARNING "ide%d: no intrs for device %s, using 13\n", | 1327 | printk(KERN_WARNING "ide%d: no intrs for device %s, using 13\n", |
1328 | i, mdev->ofdev.node->full_name); | 1328 | i, mdev->ofdev.node->full_name); |
1329 | irq = 13; | 1329 | irq = irq_create_mapping(NULL, 13); |
1330 | } else | 1330 | } else |
1331 | irq = macio_irq(mdev, 0); | 1331 | irq = macio_irq(mdev, 0); |
1332 | 1332 | ||