patch-2.4.21 linux-2.4.21/include/asm-cris/scatterlist.h

Next file: linux-2.4.21/include/asm-cris/semaphore-helper.h
Previous file: linux-2.4.21/include/asm-cris/rtc.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/include/asm-cris/scatterlist.h linux-2.4.21/include/asm-cris/scatterlist.h
@@ -0,0 +1,18 @@
+#ifndef __ASM_CRIS_SCATTERLIST_H
+#define __ASM_CRIS_SCATTERLIST_H
+
+struct scatterlist {
+	char *  address;    /* Location data is to be transferred to */
+	unsigned int length;
+
+	/* The following is i386 highmem junk - not used by us */
+	struct page * page; /* Location for highmem page, if any */
+	unsigned int offset;/* for highmem, page offset */
+
+};
+
+/* i386 junk */
+
+#define ISA_DMA_THRESHOLD (0x1fffffff)
+
+#endif /* !(__ASM_CRIS_SCATTERLIST_H) */

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