summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/scatterlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh/scatterlist.h')
-rw-r--r--include/asm-sh/scatterlist.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asm-sh/scatterlist.h b/include/asm-sh/scatterlist.h
new file mode 100644
index 000000000..a6d0b59c5
--- /dev/null
+++ b/include/asm-sh/scatterlist.h
@@ -0,0 +1,13 @@
+#ifndef __ASM_SH_SCATTERLIST_H
+#define __ASM_SH_SCATTERLIST_H
+
+struct scatterlist {
+ char * address; /* Location data is to be transferred to */
+ char * alt_address; /* Location of actual if address is a
+ * dma indirect buffer. NULL otherwise */
+ unsigned int length;
+};
+
+#define ISA_DMA_THRESHOLD (0x1fffffff)
+
+#endif /* !(__ASM_SH_SCATTERLIST_H) */