patch-2.1.92 linux/include/asm-alpha/lca.h
Next file: linux/include/asm-alpha/mcpcia.h
Previous file: linux/include/asm-alpha/irq.h
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Mon Mar 30 00:21:40 1998
- Orig file:
v2.1.91/linux/include/asm-alpha/lca.h
- Orig date:
Mon Jan 12 14:51:14 1998
diff -u --recursive --new-file v2.1.91/linux/include/asm-alpha/lca.h linux/include/asm-alpha/lca.h
@@ -54,8 +54,18 @@
#include <asm/system.h>
+#ifdef CONFIG_ALPHA_SRM_SETUP
+/* if we are using the SRM PCI setup, we'll need to use variables instead */
+#define LCA_DMA_WIN_BASE_DEFAULT (1024*1024*1024)
+#define LCA_DMA_WIN_SIZE_DEFAULT (1024*1024*1024)
+
+extern unsigned int LCA_DMA_WIN_BASE;
+extern unsigned int LCA_DMA_WIN_SIZE;
+
+#else /* SRM_SETUP */
#define LCA_DMA_WIN_BASE (1024*1024*1024)
#define LCA_DMA_WIN_SIZE (1024*1024*1024)
+#endif /* SRM_SETUP */
/*
* Memory Controller registers:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov