Re: [RFC v3 4/7] dmaengine: Add slave DMA interface
From: Haavard Skinnemoen
Date: Wed Feb 13 2008 - 03:03:22 EST
On Wed, 13 Feb 2008 00:21:41 -0700
"Dan Williams" <dan.j.williams@xxxxxxxxx> wrote:
> On Feb 12, 2008 9:43 AM, Haavard Skinnemoen <hskinnemoen@xxxxxxxxx> wrote:
> [..]
> > +enum dma_slave_direction {
> > + DMA_SLAVE_TO_MEMORY,
> > + DMA_SLAVE_FROM_MEMORY,
> > +};
>
> Just reuse enum dma_data_direction from the dma-mapping api.
Hmm...ok. That will add two "directions" that are a bit useless in this
context (DMA_BIDIRECTIONAL and DMA_NONE.) But I guess it's still worth
it since we can pass the direction on unchanged when syncing the
buffers.
Haavard
--
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/