patch-2.3.43 linux/include/asm-alpha/core_irongate.h
Next file: linux/include/asm-alpha/core_lca.h
Previous file: linux/include/asm-alpha/core_cia.h
Back to the patch index
Back to the overall index
- Lines: 46
- Date:
Mon Feb 7 20:09:05 2000
- Orig file:
v2.3.42/linux/include/asm-alpha/core_irongate.h
- Orig date:
Wed Dec 15 10:43:17 1999
diff -u --recursive --new-file v2.3.42/linux/include/asm-alpha/core_irongate.h linux/include/asm-alpha/core_irongate.h
@@ -22,13 +22,8 @@
* and I/O address space. Memory address space resides in the lower
* half of the physical address space (PA[43]=0) and I/O address space
* resides in the upper half of the physical address space (PA[43]=1).
- *
*/
-#define IRONGATE_DMA_WIN_BASE (0UL)
-#define IRONGATE_DMA_WIN_SIZE (0UL)
-
-
/*
* Irongate CSR map. Some of the CSRs are 8 or 16 bits, but all access
* through the routines given is 32-bit.
@@ -393,21 +388,6 @@
#endif
/*
- * Translate physical memory address as seen on (PCI) bus into
- * a kernel virtual address and vv.
- */
-
-__EXTERN_INLINE unsigned long irongate_virt_to_bus(void * address)
-{
- return virt_to_phys(address) + IRONGATE_DMA_WIN_BASE;
-}
-
-__EXTERN_INLINE void * irongate_bus_to_virt(unsigned long address)
-{
- return phys_to_virt(address - IRONGATE_DMA_WIN_BASE);
-}
-
-/*
* I/O functions:
*
* IRONGATE (AMD-751) PCI/memory support chip for the EV6 (21264) and
@@ -512,9 +492,6 @@
#undef vulp
#ifdef __WANT_IO_DEF
-
-#define virt_to_bus irongate_virt_to_bus
-#define bus_to_virt irongate_bus_to_virt
#define __inb irongate_inb
#define __inw irongate_inw
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)