aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/scatterlist.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-04-09 10:36:54 -0700
committerPaul Mundt <lethal@linux-sh.org>2009-04-09 10:36:54 -0700
commitf802d969b6a89d3f9b67ef879179824d53420ebe (patch)
tree73748811278c85817b59240d63e610c8a9565132 /arch/sh/include/asm/scatterlist.h
parentb35346fd25f3c8c0b6afeb778f8c4f41c5703c84 (diff)
sh: Add support for DMA API debugging.
This wires up support for the generic DMA API debugging. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/scatterlist.h')
-rw-r--r--arch/sh/include/asm/scatterlist.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/sh/include/asm/scatterlist.h b/arch/sh/include/asm/scatterlist.h
index 2084d037369..c693d268a41 100644
--- a/arch/sh/include/asm/scatterlist.h
+++ b/arch/sh/include/asm/scatterlist.h
@@ -5,12 +5,13 @@
struct scatterlist {
#ifdef CONFIG_DEBUG_SG
- unsigned long sg_magic;
+ unsigned long sg_magic;
#endif
- unsigned long page_link;
- unsigned int offset;/* for highmem, page offset */
- dma_addr_t dma_address;
- unsigned int length;
+ unsigned long page_link;
+ unsigned int offset; /* for highmem, page offset */
+ unsigned int length;
+ dma_addr_t dma_address;
+ unsigned int dma_length;
};
#define ISA_DMA_THRESHOLD PHYS_ADDR_MASK