Messages in this thread Patch in this message | | | Subject | Re: [PATCH][2.5.74] fix IDE init oops on PowerMac | From | Benjamin Herrenschmidt <> | Date | 06 Jul 2003 21:28:47 +0200 |
| |
On Fri, 2003-07-04 at 02:16, Mikael Pettersson wrote: > Booting kernel 2.5.74 on a PowerMac with CONFIG_BLK_DEV_IDE_PMAC=y > results in an oops during IDE init, and the box then reboots. > .../...
>The patch below updates drivers/ide/ppc/pmac.c to also set up the > hwif->ide_dma_queued_off and hwif->ide_dma_queued_on function > pointers, which fixes the oops. Tested on my ancient PM4400.
Patch is fine, actually, it's already in my tree though my version of this driver isn't merged yet as it depends on the other changes to the "macio" driver model that I haven't pushed upstream so far.
Linus, can you apply please ?
Thanks, Ben.
diff -ruN linux-2.5.74/drivers/ide/ppc/pmac.c linux-2.5.74.ide-pmac-fixes/drivers/ide/ppc/pmac.c --- linux-2.5.74/drivers/ide/ppc/pmac.c 2003-05-28 22:16:00.000000000 +0200 +++ linux-2.5.74.ide-pmac-fixes/drivers/ide/ppc/pmac.c 2003-07-04 00:45:05.000000000 +0200 @@ -1514,6 +1514,8 @@ ide_hwifs[ix].ide_dma_timeout = &__ide_dma_timeout; ide_hwifs[ix].ide_dma_retune = &__ide_dma_retune; ide_hwifs[ix].ide_dma_lostirq = &pmac_ide_dma_lostirq; + ide_hwifs[ix].ide_dma_queued_on = &__ide_dma_queued_on; + ide_hwifs[ix].ide_dma_queued_off = &__ide_dma_queued_off; #ifdef CONFIG_BLK_DEV_IDEDMA_PMAC_AUTO if (!noautodma) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |