Messages in this thread | | | Date | Wed, 13 Feb 2008 09:03:10 +0100 | From | Haavard Skinnemoen <> | Subject | Re: [RFC v3 4/7] dmaengine: Add slave DMA interface |
| |
On Wed, 13 Feb 2008 00:21:41 -0700 "Dan Williams" <dan.j.williams@intel.com> wrote:
> On Feb 12, 2008 9:43 AM, Haavard Skinnemoen <hskinnemoen@atmel.com> 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
| |