[PATCH 5/5] Add DMA engine driver for Freescale MPC85xxprocessors.

Dan Williams dan.j.williams at intel.com
Fri Sep 14 02:25:57 EST 2007


On 9/13/07, Zhang Wei-r63237 <Wei.Zhang at freescale.com> wrote:
> Hi,
>
> > > +static void fsl_dma_set_src(dma_addr_t addr,
> > > +                           struct dma_async_tx_descriptor
> > *tx, int index)
> > > +{
> >
> > What is index supposed to mean?  It's not used, or documented
> > anywhere than
> > I can see.
>
> I've also got more document here. Hi, Dan, could you give me some
> explanation about this API? :)
>
The index field gets used for multi-source (or multi-dest) operations.
 XOR, for example, is a multi-source operation.  I am preparing a
documentation patch.

[..]

--
Dan



More information about the Linuxppc-dev mailing list