rapidio: add DMA engine support for RIO data transfers
authorAlexandre Bounine <[email protected]>
Thu, 31 May 2012 23:26:38 +0000 (16:26 -0700)
committerLinus Torvalds <[email protected]>
Fri, 1 Jun 2012 00:49:31 +0000 (17:49 -0700)
commite42d98ebe7d754a2c9fbccd6186721d3ca8679f6
treeeed734672410f2eb8fab07fbd14f88bfaf8a882f
parentce2d52cc1364a22fc1a161781e60ee3cbb499a6d
rapidio: add DMA engine support for RIO data transfers

Adds DMA Engine framework support into RapidIO subsystem.

Uses DMA Engine DMA_SLAVE interface to generate data transfers to/from
remote RapidIO target devices.

Introduces RapidIO-specific wrapper for prep_slave_sg() interface with an
extra parameter to pass target specific information.

Uses scatterlist to describe local data buffer.  Address flat data buffer
on a remote side.

Signed-off-by: Alexandre Bounine <[email protected]>
Cc: Dan Williams <[email protected]>
Acked-by: Vinod Koul <[email protected]>
Cc: Li Yang <[email protected]>
Cc: Matt Porter <[email protected]>
Cc: Paul Gortmaker <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/rapidio/Kconfig
drivers/rapidio/rio.c
include/linux/dmaengine.h
include/linux/rio.h
include/linux/rio_drv.h