patch-2.4.20 linux-2.4.20/include/asm-mips/scatterlist.h

Next file: linux-2.4.20/include/asm-mips/semaphore-helper.h
Previous file: linux-2.4.20/include/asm-mips/rrm.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/include/asm-mips/scatterlist.h linux-2.4.20/include/asm-mips/scatterlist.h
@@ -2,17 +2,19 @@
 #define __ASM_SCATTERLIST_H
 
 struct scatterlist {
-	char * address;		/* Location data is to be transferred to */
+	char * address;		/* Location data is to be transferred to,
+				   NULL for highmem page */
 	struct page * page;	/* Location for highmem page, if any */
+	unsigned int offset;
+	dma_addr_t dma_address;
 	unsigned int length;
-	__u32 dvma_address;
 };
 
 struct mmu_sglist {
 	char *addr;
 	char *__dont_touch;
 	unsigned int len;
-	__u32 dvma_addr;
+	dma_addr_t dvma_addr;
 };
 
 #define ISA_DMA_THRESHOLD (0x00ffffff)

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