patch-2.2.11 linux/include/asm-alpha/core_cia.h

Next file: linux/include/asm-alpha/core_pyxis.h
Previous file: linux/fs/vfat/vfatfs_syms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.10/linux/include/asm-alpha/core_cia.h linux/include/asm-alpha/core_cia.h
@@ -77,8 +77,18 @@
 #define CIA_MEM_R2_MASK 0x07ffffff  /* SPARSE Mem region 2 mask is 27 bits */
 #define CIA_MEM_R3_MASK 0x03ffffff  /* SPARSE Mem region 3 mask is 26 bits */
 
-#define CIA_DMA_WIN_BASE_DEFAULT	(1024*1024*1024)
-#define CIA_DMA_WIN_SIZE_DEFAULT	(1024*1024*1024)
+#define CIA_DMA_WIN_BASE_DEFAULT	(1024*1024*1024U)
+#define CIA_DMA_WIN_SIZE_DEFAULT	(2*1024*1024*1024U)
+
+/* window 0 at 1GB size 1GB mapping to 0 */
+#define CIA_DMA_WIN0_BASE_DEFAULT	(1024*1024*1024U)
+#define CIA_DMA_WIN0_SIZE_DEFAULT	(1024*1024*1024U)
+#define CIA_DMA_WIN0_TRAN_DEFAULT	(0U)
+
+/* window 1 at 2GB size 1GB mapping to 1GB */
+#define CIA_DMA_WIN1_BASE_DEFAULT	(2*1024*1024*1024U)
+#define CIA_DMA_WIN1_SIZE_DEFAULT	(1024*1024*1024U)
+#define CIA_DMA_WIN1_TRAN_DEFAULT	(1024*1024*1024U)
 
 #if defined(CONFIG_ALPHA_GENERIC) || defined(CONFIG_ALPHA_SRM_SETUP)
 #define CIA_DMA_WIN_BASE		alpha_mv.dma_win_base

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)