summaryrefslogtreecommitdiffstats
path: root/include/asm-mips64
diff options
context:
space:
mode:
authorKanoj Sarcar <kanoj@engr.sgi.com>2000-01-25 00:04:20 +0000
committerKanoj Sarcar <kanoj@engr.sgi.com>2000-01-25 00:04:20 +0000
commitfac1e88ac236d9bc72933bbe2dc7264c96e8faad (patch)
tree27fe1e144babb438176aa9b710c72d4b0c45df05 /include/asm-mips64
parent49ebe13fa6c623b9c408895097c94e20cbfc73bb (diff)
Add in scatterlist.h that is needed to compile qlogicisp.c. Mostly the
mips32 stuff, except that we do not support ISA devices on SN0.
Diffstat (limited to 'include/asm-mips64')
-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 */