Re: [PATCH 06/22] ncr5380: Remove PSEUDO_DMA macro

2016-03-14 Thread Hannes Reinecke
On 03/14/2016 05:27 AM, Finn Thain wrote: > For those wrapper drivers which only implement Programmed IO, have > NCR5380_dma_xfer_len() evaluate to zero. That allows PDMA to be easily > disabled at run-time and so the PSEUDO_DMA macro is no longer needed. > > Also remove the spin counters used for

[PATCH 06/22] ncr5380: Remove PSEUDO_DMA macro

2016-03-13 Thread Finn Thain
For those wrapper drivers which only implement Programmed IO, have NCR5380_dma_xfer_len() evaluate to zero. That allows PDMA to be easily disabled at run-time and so the PSEUDO_DMA macro is no longer needed. Also remove the spin counters used for debugging pseudo DMA drivers. Signed-off-by: Finn