aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/mach/dma.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/mach/dma.h')
-rw-r--r--include/asm-arm/mach/dma.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-arm/mach/dma.h b/include/asm-arm/mach/dma.h
index 31bf716106e..e7c4a20aad5 100644
--- a/include/asm-arm/mach/dma.h
+++ b/include/asm-arm/mach/dma.h
@@ -25,13 +25,15 @@ struct dma_ops {
};
struct dma_struct {
+ void *addr; /* single DMA address */
+ unsigned long count; /* single DMA size */
struct scatterlist buf; /* single DMA */
int sgcount; /* number of DMA SG */
struct scatterlist *sg; /* DMA Scatter-Gather List */
unsigned int active:1; /* Transfer active */
unsigned int invalid:1; /* Address/Count changed */
- unsigned int using_sg:1; /* using scatter list? */
+
dmamode_t dma_mode; /* DMA mode */
int speed; /* DMA speed */