Skip to content

Commit

Permalink
[POWERPC] Fix ohare IDE irq workaround on old powermacs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Benjamin Herrenschmidt authored and Paul Mackerras committed Sep 22, 2006
1 parent e102926 commit 69917c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ide/ppc/pmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1326,7 +1326,7 @@ pmac_ide_macio_attach(struct macio_dev *mdev, const struct of_device_id *match)
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);

Expand Down

0 comments on commit 69917c2

Please sign in to comment.