diff options
Diffstat (limited to 'include/asm-arm/io.h')
-rw-r--r-- | include/asm-arm/io.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/include/asm-arm/io.h b/include/asm-arm/io.h index fd0147e52dbb..b3479fc1cc8f 100644 --- a/include/asm-arm/io.h +++ b/include/asm-arm/io.h | |||
@@ -226,42 +226,6 @@ out: | |||
226 | #endif /* __mem_pci */ | 226 | #endif /* __mem_pci */ |
227 | 227 | ||
228 | /* | 228 | /* |
229 | * If this architecture has ISA IO, then define the isa_read/isa_write | ||
230 | * macros. | ||
231 | */ | ||
232 | #ifdef __mem_isa | ||
233 | |||
234 | #define isa_readb(addr) __raw_readb(__mem_isa(addr)) | ||
235 | #define isa_readw(addr) __raw_readw(__mem_isa(addr)) | ||
236 | #define isa_readl(addr) __raw_readl(__mem_isa(addr)) | ||
237 | #define isa_writeb(val,addr) __raw_writeb(val,__mem_isa(addr)) | ||
238 | #define isa_writew(val,addr) __raw_writew(val,__mem_isa(addr)) | ||
239 | #define isa_writel(val,addr) __raw_writel(val,__mem_isa(addr)) | ||
240 | #define isa_memset_io(a,b,c) _memset_io(__mem_isa(a),(b),(c)) | ||
241 | #define isa_memcpy_fromio(a,b,c) _memcpy_fromio((a),__mem_isa(b),(c)) | ||
242 | #define isa_memcpy_toio(a,b,c) _memcpy_toio(__mem_isa((a)),(b),(c)) | ||
243 | |||
244 | #define isa_eth_io_copy_and_sum(a,b,c,d) \ | ||
245 | eth_copy_and_sum((a),__mem_isa(b),(c),(d)) | ||
246 | |||
247 | #else /* __mem_isa */ | ||
248 | |||
249 | #define isa_readb(addr) (__readwrite_bug("isa_readb"),0) | ||
250 | #define isa_readw(addr) (__readwrite_bug("isa_readw"),0) | ||
251 | #define isa_readl(addr) (__readwrite_bug("isa_readl"),0) | ||
252 | #define isa_writeb(val,addr) __readwrite_bug("isa_writeb") | ||
253 | #define isa_writew(val,addr) __readwrite_bug("isa_writew") | ||
254 | #define isa_writel(val,addr) __readwrite_bug("isa_writel") | ||
255 | #define isa_memset_io(a,b,c) __readwrite_bug("isa_memset_io") | ||
256 | #define isa_memcpy_fromio(a,b,c) __readwrite_bug("isa_memcpy_fromio") | ||
257 | #define isa_memcpy_toio(a,b,c) __readwrite_bug("isa_memcpy_toio") | ||
258 | |||
259 | #define isa_eth_io_copy_and_sum(a,b,c,d) \ | ||
260 | __readwrite_bug("isa_eth_io_copy_and_sum") | ||
261 | |||
262 | #endif /* __mem_isa */ | ||
263 | |||
264 | /* | ||
265 | * ioremap and friends. | 229 | * ioremap and friends. |
266 | * | 230 | * |
267 | * ioremap takes a PCI memory address, as specified in | 231 | * ioremap takes a PCI memory address, as specified in |