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

Next file: linux/include/asm-sparc64/sfp-machine.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.3.34/linux/include/asm-sparc64/scatterlist.h linux/include/asm-sparc64/scatterlist.h
@@ -1,4 +1,4 @@
-/* $Id: scatterlist.h,v 1.7 1999/08/30 10:15:01 davem Exp $ */
+/* $Id: scatterlist.h,v 1.9 1999/12/17 12:32:15 jj Exp $ */
 #ifndef _SPARC64_SCATTERLIST_H
 #define _SPARC64_SCATTERLIST_H
 
@@ -14,7 +14,9 @@
     __u32 dvma_length;
 };
 
-extern unsigned long phys_base;
-#define ISA_DMA_THRESHOLD (phys_base + (0xfe000000UL) + PAGE_OFFSET)
+#define sg_dma_address(sg) ((sg)->dvma_address)
+#define sg_dma_len(sg)     ((sg)->dvma_length)
+
+#define ISA_DMA_THRESHOLD	(~0UL)
 
 #endif /* !(_SPARC64_SCATTERLIST_H) */

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