diff options
author | Alexandre Bounine <alexandre.bounine@idt.com> | 2012-05-31 19:26:38 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-31 20:49:31 -0400 |
commit | e42d98ebe7d754a2c9fbccd6186721d3ca8679f6 (patch) | |
tree | eed734672410f2eb8fab07fbd14f88bfaf8a882f /drivers/rapidio/Kconfig | |
parent | ce2d52cc1364a22fc1a161781e60ee3cbb499a6d (diff) |
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 <alexandre.bounine@idt.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Acked-by: Vinod Koul <vinod.koul@linux.intel.com>
Cc: Li Yang <leoli@freescale.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rapidio/Kconfig')
-rw-r--r-- | drivers/rapidio/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/rapidio/Kconfig b/drivers/rapidio/Kconfig index bc8719238793..6194d35ebb97 100644 --- a/drivers/rapidio/Kconfig +++ b/drivers/rapidio/Kconfig | |||
@@ -22,6 +22,20 @@ config RAPIDIO_ENABLE_RX_TX_PORTS | |||
22 | ports for Input/Output direction to allow other traffic | 22 | ports for Input/Output direction to allow other traffic |
23 | than Maintenance transfers. | 23 | than Maintenance transfers. |
24 | 24 | ||
25 | config RAPIDIO_DMA_ENGINE | ||
26 | bool "DMA Engine support for RapidIO" | ||
27 | depends on RAPIDIO | ||
28 | select DMADEVICES | ||
29 | select DMA_ENGINE | ||
30 | help | ||
31 | Say Y here if you want to use DMA Engine frameork for RapidIO data | ||
32 | transfers to/from target RIO devices. RapidIO uses NREAD and | ||
33 | NWRITE (NWRITE_R, SWRITE) requests to transfer data between local | ||
34 | memory and memory on remote target device. You need a DMA controller | ||
35 | capable to perform data transfers to/from RapidIO. | ||
36 | |||
37 | If you are unsure about this, say Y here. | ||
38 | |||
25 | config RAPIDIO_DEBUG | 39 | config RAPIDIO_DEBUG |
26 | bool "RapidIO subsystem debug messages" | 40 | bool "RapidIO subsystem debug messages" |
27 | depends on RAPIDIO | 41 | depends on RAPIDIO |