Bartlomiej Zolnierkiewicz wrote:
* Program DMA timings in sl82c105_dma_start() (->dma_start method) before starting DMA transfer.
* Add sl82c105_dma_end() (->ide_dma_end method) to switch back to PIO timings when DMA transfer is complete.
* In sl82c105_set_pio_mode() program timings regardless of ->using_dma setting and in sl82c105_set_dma_mode() only cache the new timings.
* Remove no longer needed sl82c105_{ide_dma_on,off_quietly}().
Well, the right fix would have been to merge PIO/DMA timings -- but I must admit that I have nearly forgotten about my existing but unfinished version by now. :-|
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
Acked-by: Sergei Shtylyov <sshtylyov@xxxxxxxxxxxxx> MBR, Sergei - To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html