patch-1.3.81 linux/include/asm-alpha/dma.h
Next file: linux/include/asm-alpha/floppy.h
Previous file: linux/include/asm-alpha/apecs.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sat Mar 30 13:50:12 1996
- Orig file:
v1.3.80/linux/include/asm-alpha/dma.h
- Orig date:
Tue Aug 1 10:02:44 1995
diff -u --recursive --new-file v1.3.80/linux/include/asm-alpha/dma.h linux/include/asm-alpha/dma.h
@@ -18,6 +18,8 @@
#ifndef _ASM_DMA_H
#define _ASM_DMA_H
+#include <linux/config.h>
+
#include <asm/io.h> /* need byte IO */
#define dma_outb outb
@@ -73,8 +75,16 @@
#define MAX_DMA_CHANNELS 8
-/* The maximum address that we can perform a DMA transfer to on this platform */
+#ifdef CONFIG_ALPHA_XL
+/* The maximum address that we can perform a DMA transfer to on Alpha XL,
+ due to a hardware SIO (PCI<->ISA bus bridge) chip limitation, is 64MB.
+ see <asm/apecs.h> for more info */
+#define MAX_DMA_ADDRESS (0xfffffc0004000000UL)
+#else /* CONFIG_ALPHA_XL */
+/* The maximum address that we can perform a DMA transfer to on normal
+ Alpha platforms */
#define MAX_DMA_ADDRESS (~0UL)
+#endif /* CONFIG_ALPHA_XL */
/* 8237 DMA controllers */
#define IO_DMA1_BASE 0x00 /* 8 bit slave DMA, channels 0..3 */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this