[PATCH] (pata-2.6 fix queue) sl82c105: DMA support code cleanup (take 3)

Bartlomiej Zolnierkiewicz bzolnier at gmail.com
Sat Feb 24 10:42:59 EST 2007


On Friday 23 February 2007, Sergei Shtylyov wrote:
> Fold the now equivalent code in the ide_dma_check() method into a mere call to
> ide_use_dma().  Make config_for_dma() return non-zero if DMA mode has been set
> and call it from the ide_dma_check() method instead of ide_dma_on().
> Also, defer writing the DMA timings to the chip registers until DMA is actually
> turned on (and do not enable IORDY for DMA).  Remove unnecessary code from the
> init_hwif() method, improve its looks overall, and also rename the driver's
> ide_dma_check() and dma_start() methods.
> 
> ---
> This version takes into account that the ide-use-fast-pio.patch had been merged
> to mainline...

applied



More information about the Linuxppc-dev mailing list