patch-2.4.14 linux/include/asm-sparc/scatterlist.h
Next file: linux/include/asm-sparc/semaphore.h
Previous file: linux/include/asm-sparc/floppy.h
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Tue Oct 30 15:08:11 2001
- Orig file:
v2.4.13/linux/include/asm-sparc/scatterlist.h
- Orig date:
Tue Oct 23 22:48:53 2001
diff -u --recursive --new-file v2.4.13/linux/include/asm-sparc/scatterlist.h linux/include/asm-sparc/scatterlist.h
@@ -1,15 +1,23 @@
-/* $Id: scatterlist.h,v 1.6 2001/10/09 02:24:35 davem Exp $ */
+/* $Id: scatterlist.h,v 1.7 2001/10/30 04:34:57 davem Exp $ */
#ifndef _SPARC_SCATTERLIST_H
#define _SPARC_SCATTERLIST_H
#include <linux/types.h>
struct scatterlist {
- char * address; /* Location data is to be transferred to */
- unsigned int length;
+ /* This will disappear in 2.5.x */
+ char *address;
- __u32 dvma_address; /* A place to hang host-specific addresses at. */
- __u32 dvma_length;
+ /* These two are only valid if ADDRESS member of this
+ * struct is NULL.
+ */
+ struct page *page;
+ unsigned int offset;
+
+ unsigned int length;
+
+ __u32 dvma_address; /* A place to hang host-specific addresses at. */
+ __u32 dvma_length;
};
#define sg_dma_address(sg) ((sg)->dvma_address)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)