patch-2.1.121 linux/include/asm-alpha/dma.h
Next file: linux/include/asm-alpha/floppy.h
Previous file: linux/include/asm-alpha/core_tsunami.h
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Sun Sep 6 10:34:33 1998
- Orig file:
v2.1.120/linux/include/asm-alpha/dma.h
- Orig date:
Tue Aug 18 22:02:06 1998
diff -u --recursive --new-file v2.1.120/linux/include/asm-alpha/dma.h linux/include/asm-alpha/dma.h
@@ -78,13 +78,18 @@
due to a hardware SIO (PCI<->ISA bus bridge) chip limitation, is 64MB.
See <asm/apecs.h> for more info.
*/
+/* The maximum address that we can perform a DMA transfer to on RUFFIAN,
+ due to a hardware SIO (PCI<->ISA bus bridge) chip limitation, is 16MB.
+ See <asm/pyxis.h> for more info.
+*/
/* NOTE: we must define the maximum as something less than 64Mb, to prevent
virt_to_bus() from returning an address in the first window, for a
data area that goes beyond the 64Mb first DMA window. Sigh...
We MUST coordinate the maximum with <asm/apecs.h> for consistency.
For now, this limit is set to 48Mb...
*/
-#define ALPHA_XL_MAX_DMA_ADDRESS (0xfffffc0003000000UL)
+#define ALPHA_XL_MAX_DMA_ADDRESS (IDENT_ADDR+0x3000000UL)
+#define ALPHA_RUFFIAN_MAX_DMA_ADDRESS (IDENT_ADDR+0x1000000UL)
#define ALPHA_MAX_DMA_ADDRESS (~0UL)
#ifdef CONFIG_ALPHA_GENERIC
@@ -92,6 +97,8 @@
#else
# ifdef CONFIG_ALPHA_XL
# define MAX_DMA_ADDRESS ALPHA_XL_MAX_DMA_ADDRESS
+# elif defined(CONFIG_ALPHA_RUFFIAN)
+# define MAX_DMA_ADDRESS ALPHA_RUFFIAN_MAX_DMA_ADDRESS
# else
# define MAX_DMA_ADDRESS ALPHA_MAX_DMA_ADDRESS
# endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov