[PATCH 5/11] ide-pmac: remove pmac_ide_{m,u}dma_enable() (take 2)

2007-07-23 Thread Bartlomiej Zolnierkiewicz
* Fix pmac_ide_dma_check() to use pmac_ide_tune_chipset() and remove no longer necessary pmac_ide_{m,u}dma_enable(). * While at it remove some dead code from pmac_ide_dma_check() (leftovers from conversion to use ide_max_dma_mode()). There should be no functionality changes caused by this

[PATCH 5/11] ide-pmac: remove pmac_ide_{m,u}dma_enable()

2007-07-22 Thread Bartlomiej Zolnierkiewicz
* Fix pmac_ide_dma_check() to use pmac_ide_tune_chipset() and remove no longer necessary pmac_ide_{m,u}dma_enable(). * While at it remove some dead code from pmac_ide_dma_check() (leftovers from conversion to use ide_max_dma_mode()). There should be no functionality changes caused by this

Re: [PATCH 5/11] ide-pmac: remove pmac_ide_{m,u}dma_enable()

2007-07-22 Thread Benjamin Herrenschmidt
On Sun, 2007-07-22 at 20:24 +0200, Bartlomiej Zolnierkiewicz wrote: * Fix pmac_ide_dma_check() to use pmac_ide_tune_chipset() and remove no longer necessary pmac_ide_{m,u}dma_enable(). * While at it remove some dead code from pmac_ide_dma_check() (leftovers from conversion to use

Re: [PATCH 5/11] ide-pmac: remove pmac_ide_{m,u}dma_enable()

2007-07-22 Thread Benjamin Herrenschmidt
static int pmac_ide_dma_check(ide_drive_t *drive) { - struct hd_driveid *id = drive-id; Actually, this one breaks compile, id is used a bit further below in that function. Cheers, Ben. - ide_hwif_t *hwif = HWIF(drive); - pmac_ide_hwif_t* pmif = (pmac_ide_hwif_t