Fix IP22 timer calibration.
[linux-2.6/linux-mips.git] / include / asm-um / io.h
blob62d6f2423ea6b1187ff5f852030f2730927919d7
1 #ifndef __UM_IO_H
2 #define __UM_IO_H
4 #include "asm/page.h"
6 #define IO_SPACE_LIMIT 0xdeadbeef /* Sure hope nothing uses this */
8 static inline int inb(unsigned long i) { return(0); }
9 static inline void outb(char c, unsigned long i) { }
12 * Change virtual addresses to physical addresses and vv.
13 * These are pretty trivial
15 static inline unsigned long virt_to_phys(volatile void * address)
17 return __pa((void *) address);
20 static inline void * phys_to_virt(unsigned long address)
22 return __va(address);
25 #endif