Re: [PATCHv4] DMAEngine: Define interleaved transfer request api

From: Jassi Brar
Date: Fri Sep 30 2011 - 12:01:30 EST


On 30 September 2011 12:13, Barry Song <21cnbao@xxxxxxxxx> wrote:
>
> i support we can update dma_data_direction to:   MEM_TO_MEM,
> MEM_TO_DEV,  DEV_TO_MEM, DEV_TO_DEV.
>
So basically you are suggesting to replace 'enum dma_data_direction'
with 'enum xfer_direction'
I am not sure about that. I think they represent different things and
hence should be separate.
dma_data_direction tells the mapping of a buffer while the other
tells if the src and dst are memory or a device's FIFO.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/