patch-2.3.48 linux/include/asm-mips64/scatterlist.h

Next file: linux/include/asm-mips64/segment.h
Previous file: linux/include/asm-mips64/resource.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.47/linux/include/asm-mips64/scatterlist.h linux/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 (0x00ffffffUL)
+
+#endif /* __ASM_MIPS64_SCATTERLIST_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)