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

Next file: linux/include/asm-sparc64/semaphore-helper.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.2.3/linux/include/asm-sparc64/scatterlist.h linux/include/asm-sparc64/scatterlist.h
@@ -1,4 +1,4 @@
-/* $Id: scatterlist.h,v 1.4 1997/04/10 05:13:32 davem Exp $ */
+/* $Id: scatterlist.h,v 1.6 1998/12/16 04:33:57 davem Exp $ */
 #ifndef _SPARC64_SCATTERLIST_H
 #define _SPARC64_SCATTERLIST_H
 
@@ -13,6 +13,7 @@
     __u32 dvma_address; /* A place to hang host-specific addresses at. */
 };
 
-#define ISA_DMA_THRESHOLD ((0xf0000000) + PAGE_OFFSET)
+extern unsigned long phys_base;
+#define ISA_DMA_THRESHOLD (phys_base + (0xfe000000UL) + PAGE_OFFSET)
 
 #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)