summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/scatterlist.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-03-17 22:05:47 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-03-17 22:05:47 +0000
commit27cfca1ec98e91261b1a5355d10a8996464b63af (patch)
tree8e895a53e372fa682b4c0a585b9377d67ed70d0e /include/asm-ppc/scatterlist.h
parent6a76fb7214c477ccf6582bd79c5b4ccc4f9c41b1 (diff)
Look Ma' what I found on my harddisk ...
o New faster syscalls for 2.1.x, too o Upgrade to 2.1.89. Don't try to run this. It's flaky as hell. But feel free to debug ...
Diffstat (limited to 'include/asm-ppc/scatterlist.h')
-rw-r--r--include/asm-ppc/scatterlist.h20
1 files changed, 1 insertions, 19 deletions
diff --git a/include/asm-ppc/scatterlist.h b/include/asm-ppc/scatterlist.h
index 6c5105291..f81590716 100644
--- a/include/asm-ppc/scatterlist.h
+++ b/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 @@ struct scatterlist {
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) */