patch-2.1.79 linux/include/asm-ppc/scatterlist.h
Next file: linux/include/asm-ppc/siginfo.h
Previous file: linux/include/asm-ppc/prom.h
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
Mon Jan 12 15:18:13 1998
- Orig file:
v2.1.78/linux/include/asm-ppc/scatterlist.h
- Orig date:
Thu Sep 4 17:07:31 1997
diff -u --recursive --new-file v2.1.78/linux/include/asm-ppc/scatterlist.h linux/include/asm-ppc/scatterlist.h
@@ -1,7 +1,7 @@
#ifndef _PPC_SCATTERLIST_H
#define _PPC_SCATTERLIST_H
-#include <linux/config.h>
+#include <asm/dma.h>
struct scatterlist {
char * address; /* Location data is to be transferred to */
@@ -10,23 +10,5 @@
unsigned int length;
};
-#ifdef CONFIG_PMAC
-/*
- * This is used in the scsi code to decide if bounce buffers are needed.
- * Fortunately the dma controllers on the PowerMac are a bit better
- * than on PCs...
- */
-#define ISA_DMA_THRESHOLD (~0UL)
-#endif
-
-#ifdef CONFIG_PREP
-/* PReP systems are like PCs */
-#define ISA_DMA_THRESHOLD (0x00ffffff)
-#endif
-
-#ifdef CONFIG_CHRP
-/* The W83C553F supports 32-bit DMA on ISA */
-#define ISA_DMA_THRESHOLD (~0UL)
-#endif
#endif /* !(_PPC_SCATTERLIST_H) */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov