summaryrefslogtreecommitdiffstats
path: root/drivers/dma/mv_xor.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2016-10-26 10:10:25 +0200
committerVinod Koul <vinod.koul@intel.com>2016-11-25 06:46:36 +0100
commitc5db858bdfeff00c219c64a95338c1eb5460555c (patch)
tree541f568b74a65616770dad3c8f04ceba42f6a9b2 /drivers/dma/mv_xor.h
parentdmaengine: hsu: pci: switch to new API for IRQ allocation (diff)
downloadlinux-c5db858bdfeff00c219c64a95338c1eb5460555c.tar.xz
linux-c5db858bdfeff00c219c64a95338c1eb5460555c.zip
dmaengine: mv_xor: Add support for scatter-gather DMA mode
This patch adds memory to memory scatter-gather support to the Marvell mv_or DMA driver. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Gregory CLEMENT <gregory.clement@free-electrons.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Marcin Wojtas <mw@semihalf.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/mv_xor.h')
-rw-r--r--drivers/dma/mv_xor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/mv_xor.h b/drivers/dma/mv_xor.h
index 88eeab222a23..cf921dd6af73 100644
--- a/drivers/dma/mv_xor.h
+++ b/drivers/dma/mv_xor.h
@@ -148,6 +148,7 @@ struct mv_xor_chan {
*/
struct mv_xor_desc_slot {
struct list_head node;
+ struct list_head sg_tx_list;
enum dma_transaction_type type;
void *hw_desc;
u16 idx;