patch-2.1.19 linux/include/asm-sparc64/scatterlist.h

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

diff -u --recursive --new-file v2.1.18/linux/include/asm-sparc64/scatterlist.h linux/include/asm-sparc64/scatterlist.h
@@ -0,0 +1,18 @@
+/* $Id: scatterlist.h,v 1.1 1996/12/26 14:22:32 davem Exp $ */
+#ifndef _SPARC64_SCATTERLIST_H
+#define _SPARC64_SCATTERLIST_H
+
+#include <asm/page.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;
+
+    char * dvma_address; /* A place to hang host-specific addresses at. */
+};
+
+#define ISA_DMA_THRESHOLD ((0x100000000) + PAGE_OFFSET)
+
+#endif /* !(_SPARC64_SCATTERLIST_H) */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov