patch-2.0.34 linux/include/asm-alpha/dma.h
Next file: linux/include/asm-alpha/floppy.h
Previous file: linux/include/asm-alpha/cia.h
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Wed Jun 3 15:17:49 1998
- Orig file:
v2.0.33/linux/include/asm-alpha/dma.h
- Orig date:
Mon Jun 3 20:06:38 1996
diff -u --recursive --new-file v2.0.33/linux/include/asm-alpha/dma.h linux/include/asm-alpha/dma.h
@@ -75,7 +75,9 @@
#define MAX_DMA_CHANNELS 8
-#ifdef CONFIG_ALPHA_XL
+#if defined(CONFIG_ALPHA_RUFFIAN)
+#define MAX_DMA_ADDRESS (0xfffffc0001000000UL) /* yup, 16Mb :-( */
+#elif defined(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.
@@ -87,11 +89,13 @@
For now, this limit is set to 48Mb...
*/
#define MAX_DMA_ADDRESS (0xfffffc0003000000UL)
-#else /* CONFIG_ALPHA_XL */
-/* The maximum address that we can perform a DMA transfer to on normal
- Alpha platforms */
+#else
+/*
+ * The maximum address that we can perform a DMA transfer to on
+ * normal Alpha platforms
+ */
#define MAX_DMA_ADDRESS (~0UL)
-#endif /* CONFIG_ALPHA_XL */
+#endif
/* 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