patch-2.3.43 linux/include/asm-alpha/core_mcpcia.h

Next file: linux/include/asm-alpha/core_polaris.h
Previous file: linux/include/asm-alpha/core_lca.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/include/asm-alpha/core_mcpcia.h linux/include/asm-alpha/core_mcpcia.h
@@ -72,13 +72,10 @@
  *
  */
 
-#define MCPCIA_MEM_MASK 0x07ffffff /* SPARSE Mem region mask is 27 bits */
-
-#define MCPCIA_DMA_WIN_BASE		(2UL*1024*1024*1024)
-#define MCPCIA_DMA_WIN_SIZE		(2UL*1024*1024*1024)
-
 #define MCPCIA_MID(m)		((unsigned long)(m) << 33)
 
+#define MCPCIA_MEM_MASK 0x07ffffff /* SPARSE Mem region mask is 27 bits */
+
 /*
  * Memory spaces:
  */
@@ -198,21 +195,6 @@
 #endif
 
 /*
- * Translate physical memory address as seen on (PCI) bus into
- * a kernel virtual address and vv.
- */
-
-__EXTERN_INLINE unsigned long mcpcia_virt_to_bus(void * address)
-{
-	return virt_to_phys(address) + MCPCIA_DMA_WIN_BASE;
-}
-
-__EXTERN_INLINE void * mcpcia_bus_to_virt(unsigned long address)
-{
-	return phys_to_virt(address - MCPCIA_DMA_WIN_BASE);
-}
-
-/*
  * I/O functions:
  *
  * MCPCIA, the RAWHIDE family PCI/memory support chipset for the EV5 (21164)
@@ -451,9 +433,6 @@
 #undef vulp
 
 #ifdef __WANT_IO_DEF
-
-#define virt_to_bus	mcpcia_virt_to_bus
-#define bus_to_virt	mcpcia_bus_to_virt
 
 #define __inb		mcpcia_inb
 #define __inw		mcpcia_inw

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