]> git.baikalelectronics.ru Git - kernel.git/commit
fsldma: improved DMA_SLAVE support
authorIra Snyder <iws@ovro.caltech.edu>
Thu, 30 Sep 2010 11:46:46 +0000 (11:46 +0000)
committerDan Williams <dan.j.williams@intel.com>
Thu, 7 Oct 2010 21:41:41 +0000 (14:41 -0700)
commit6f7faf017c6fcdcc4c19b183152894da9b6ed4e1
tree122f3912ed717627b0e5bac8c72f42ef2eb0cb6e
parente371d38fb986f83f084bd47d44e13b733c598522
fsldma: improved DMA_SLAVE support

Now that the generic DMAEngine API has support for scatterlist to
scatterlist copying, the device_prep_slave_sg() portion of the
DMA_SLAVE API is no longer necessary and has been removed.

However, the device_control() portion of the DMA_SLAVE API is still
useful to control device specific parameters, such as externally
controlled DMA transfers and maximum burst length.

A special dma_ctrl_cmd has been added to enable externally controlled
DMA transfers. This is currently specific to the Freescale DMA
controller, but can easily be made generic when another user is found.

Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
arch/powerpc/include/asm/fsldma.h [deleted file]
drivers/dma/fsldma.c
include/linux/dmaengine.h