fsldma: Add DMA_SLAVE support
authorIra Snyder <iws@ovro.caltech.edu>
Wed, 9 Sep 2009 00:53:04 +0000 (17:53 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 9 Sep 2009 00:53:04 +0000 (17:53 -0700)
commitbbea0b6e0d214ef1511b9c6ccf3af26b38f0af7d
tree5f2145c023b9145d1461ecb63c839fd32f762378
parente6c7ecb64e08ef346cb7062b4a5421f00bc602bd
fsldma: Add DMA_SLAVE support

Use the DMA_SLAVE capability of the DMAEngine API to copy/from a
scatterlist into an arbitrary list of hardware address/length pairs.

This allows a single DMA transaction to copy data from several different
devices into a scatterlist at the same time.

This also adds support to enable some controller-specific features such as
external start and external pause for a DMA transaction.

[dan.j.williams@intel.com: rebased on tx_list movement]
Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Acked-by: Li Yang <leoli@freescale.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
arch/powerpc/include/asm/fsldma.h [new file with mode: 0644]
drivers/dma/fsldma.c