Looks like a workaround for old bogus OF bitrot... This fixes it and hence fixes boot on some performa machines.
Unified · Split
| @@ -1326,7 +1326,7 @@ pmac_ide_macio_attach(struct macio_dev *mdev, const struct of_device_id *match) · 1325 unmodified lines | ||
| 1326 | 1326 | if (macio_irq_count(mdev) == 0) { |
| 1327 | 1327 | printk(KERN_WARNING "ide%d: no intrs for device %s, using 13\n", |
| 1328 | 1328 | i, mdev->ofdev.node->full_name); |
| 1329 | − irq = 13; | |
| 1329 | + irq = irq_create_mapping(NULL, 13); | |
| 1330 | 1330 | } else |
| 1331 | 1331 | irq = macio_irq(mdev, 0); |
| 1332 | 1332 | |