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

2007-02-13 Thread Sergei Shtylyov
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 a

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

2007-02-14 Thread Bartlomiej Zolnierkiewicz
On Tuesday 13 February 2007 22:43, 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,

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

2007-02-23 Thread Sergei Shtylyov
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 a

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

2007-02-23 Thread Sergei Shtylyov
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 a

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

2007-02-23 Thread Bartlomiej Zolnierkiewicz
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