projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e102926
)
[POWERPC] Fix ohare IDE irq workaround on old powermacs
author
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Fri, 22 Sep 2006 02:56:30 +0000
(12:56 +1000)
committer
Paul Mackerras
<paulus@samba.org>
Fri, 22 Sep 2006 05:19:58 +0000
(15:19 +1000)
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>
drivers/ide/ppc/pmac.c
patch
|
blob
|
history
diff --git
a/drivers/ide/ppc/pmac.c
b/drivers/ide/ppc/pmac.c
index fa46856e8068cc2777173ac6f653f06c73489789..996c694341bc33d47971d1ef0a01c8d42adc3982 100644
(file)
--- 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)
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);