summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/asm-mips64/scatterlist.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/asm-mips64/scatterlist.h b/include/asm-mips64/scatterlist.h
new file mode 100644
index 000000000..951103d68
--- /dev/null
+++ b/include/asm-mips64/scatterlist.h
@@ -0,0 +1,22 @@
+#ifndef __ASM_MIPS64_SCATTERLIST_H
+#define __ASM_MIPS64_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;
+
+ __u32 dvma_address;
+};
+
+struct mmu_sglist {
+ char *addr;
+ char *__dont_touch;
+ unsigned int len;
+ __u32 dvma_addr;
+};
+
+#define ISA_DMA_THRESHOLD (~0UL)
+
+#endif /* __ASM_MIPS64_SCATTERLIST_H */