diff options
Diffstat (limited to 'arch/sh/boards/se/770x/io.c')
-rw-r--r-- | arch/sh/boards/se/770x/io.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/arch/sh/boards/se/770x/io.c b/arch/sh/boards/se/770x/io.c index 5102201c97ab..9941949331ab 100644 --- a/arch/sh/boards/se/770x/io.c +++ b/arch/sh/boards/se/770x/io.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: io.c,v 1.6 2006/01/04 17:53:54 lethal Exp $ | 1 | /* $Id: io.c,v 1.7 2006/02/05 21:55:29 lethal Exp $ |
2 | * | 2 | * |
3 | * linux/arch/sh/kernel/io_se.c | 3 | * linux/arch/sh/kernel/io_se.c |
4 | * | 4 | * |
@@ -20,11 +20,6 @@ int sh_pcic_io_stop; | |||
20 | int sh_pcic_io_type; | 20 | int sh_pcic_io_type; |
21 | int sh_pcic_io_dummy; | 21 | int sh_pcic_io_dummy; |
22 | 22 | ||
23 | static inline void delay(void) | ||
24 | { | ||
25 | ctrl_inw(0xa0000000); | ||
26 | } | ||
27 | |||
28 | /* MS7750 requires special versions of in*, out* routines, since | 23 | /* MS7750 requires special versions of in*, out* routines, since |
29 | PC-like io ports are located at upper half byte of 16-bit word which | 24 | PC-like io ports are located at upper half byte of 16-bit word which |
30 | can be accessed only with 16-bit wide. */ | 25 | can be accessed only with 16-bit wide. */ |
@@ -72,7 +67,7 @@ unsigned char se_inb_p(unsigned long port) | |||
72 | v = (*port2adr(port) >> 8); | 67 | v = (*port2adr(port) >> 8); |
73 | else | 68 | else |
74 | v = (*port2adr(port))&0xff; | 69 | v = (*port2adr(port))&0xff; |
75 | delay(); | 70 | ctrl_delay(); |
76 | return v; | 71 | return v; |
77 | } | 72 | } |
78 | 73 | ||
@@ -110,7 +105,7 @@ void se_outb_p(unsigned char value, unsigned long port) | |||
110 | *(port2adr(port)) = value << 8; | 105 | *(port2adr(port)) = value << 8; |
111 | else | 106 | else |
112 | *(port2adr(port)) = value; | 107 | *(port2adr(port)) = value; |
113 | delay(); | 108 | ctrl_delay(); |
114 | } | 109 | } |
115 | 110 | ||
116 | void se_outw(unsigned short value, unsigned long port) | 111 | void se_outw(unsigned short value, unsigned long port) |