summaryrefslogtreecommitdiffstats
path: root/arch/h8300/include/asm/scatterlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/h8300/include/asm/scatterlist.h')
-rw-r--r--arch/h8300/include/asm/scatterlist.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/h8300/include/asm/scatterlist.h b/arch/h8300/include/asm/scatterlist.h
new file mode 100644
index 00000000000..d3ecdd87ac9
--- /dev/null
+++ b/arch/h8300/include/asm/scatterlist.h
@@ -0,0 +1,18 @@
+#ifndef _H8300_SCATTERLIST_H
+#define _H8300_SCATTERLIST_H
+
+#include <asm/types.h>
+
+struct scatterlist {
+#ifdef CONFIG_DEBUG_SG
+ unsigned long sg_magic;
+#endif
+ unsigned long page_link;
+ unsigned int offset;
+ dma_addr_t dma_address;
+ unsigned int length;
+};
+
+#define ISA_DMA_THRESHOLD (0xffffffff)
+
+#endif /* !(_H8300_SCATTERLIST_H) */