/shark/trunk/drivers/linuxc24/include/asm/io.h |
---|
2,7 → 2,10 |
#define __IO__ |
#include <linux/compatib.h> |
#include "ll/sys/cdefs.h" |
__BEGIN_DECLS |
/* |
* Thanks to James van Artsdalen for a better timing-fix than |
* the two short jumps: using outb's to a nonexistent port seems |
71,5 → 74,5 |
#define writew(b,addr) (*(volatile unsigned short *) __io_virt(addr) = (b)) |
#define writel(b,addr) (*(volatile unsigned int *) __io_virt(addr) = (b)) |
__END_DECLS |
#endif |