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

From: Dan Williams
Date: Thu Sep 13 2007 - 12:26:17 EST


On 9/13/07, Zhang Wei-r63237 <Wei.Zhang@xxxxxxxxxxxxx> 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
-
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/