diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-11-12 21:49:36 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-11-12 21:49:36 +0000 |
commit | 1cf99be560e471a868e14b12c08b0ae383966cec (patch) | |
tree | 369c50892ca80f92b7124dd16d3dbc93d61c72f3 | |
parent | c35bf4a593631850ab437b37ddcded4e05548e9e (diff) | |
download | op-kernel-dev-1cf99be560e471a868e14b12c08b0ae383966cec.zip op-kernel-dev-1cf99be560e471a868e14b12c08b0ae383966cec.tar.gz |
[ARM] Use correct IO operations for Pleb
Use read/write IO operations rather than in/out, as per other
SA1100 platforms.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | drivers/net/smc91x.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/smc91x.h b/drivers/net/smc91x.h index a10cd18..5c2824b 100644 --- a/drivers/net/smc91x.h +++ b/drivers/net/smc91x.h @@ -100,14 +100,14 @@ #define SMC_IO_SHIFT 0 #define SMC_NOWAIT 1 -#define SMC_inb(a, r) inb((a) + (r)) -#define SMC_insb(a, r, p, l) insb((a) + (r), p, (l)) -#define SMC_inw(a, r) inw((a) + (r)) -#define SMC_insw(a, r, p, l) insw((a) + (r), p, l) -#define SMC_outb(v, a, r) outb(v, (a) + (r)) -#define SMC_outsb(a, r, p, l) outsb((a) + (r), p, (l)) -#define SMC_outw(v, a, r) outw(v, (a) + (r)) -#define SMC_outsw(a, r, p, l) outsw((a) + (r), p, l) +#define SMC_inb(a, r) readb((a) + (r)) +#define SMC_insb(a, r, p, l) readsb((a) + (r), p, (l)) +#define SMC_inw(a, r) readw((a) + (r)) +#define SMC_insw(a, r, p, l) readsw((a) + (r), p, l) +#define SMC_outb(v, a, r) writeb(v, (a) + (r)) +#define SMC_outsb(a, r, p, l) writesb((a) + (r), p, (l)) +#define SMC_outw(v, a, r) writew(v, (a) + (r)) +#define SMC_outsw(a, r, p, l) writesw((a) + (r), p, l) #define set_irq_type(irq, type) do {} while (0) |