Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 187 → Rev 3

/shark/trunk/drivers/linuxcom/include/asm/io.h
2,10 → 2,7
#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
74,5 → 71,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