patch-2.4.19 linux-2.4.19/include/asm-m68k/scatterlist.h

Next file: linux-2.4.19/include/asm-m68k/semaphore.h
Previous file: linux-2.4.19/include/asm-m68k/rtc.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/asm-m68k/scatterlist.h linux-2.4.19/include/asm-m68k/scatterlist.h
@@ -2,9 +2,18 @@
 #define _M68K_SCATTERLIST_H
 
 struct scatterlist {
-    char *  address;    /* Location data is to be transferred to */
-    unsigned int length;
-    unsigned long dvma_address;
+	/* This will disappear in 2.5.x */
+	char *address;
+
+	/* 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. */
 };
 
 struct mmu_sglist {

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