io.h (bf61c8840efe60fd8f91446860b63338fb424158) | io.h (ce816fa88cca083c47ab9000b2138a83043a78be) |
---|---|
1#ifndef __ASM_SH_IO_H 2#define __ASM_SH_IO_H 3 4/* 5 * Convention: 6 * read{b,w,l,q}/write{b,w,l,q} are for PCI, 7 * while in{b,w,l}/out{b,w,l} are for ISA 8 * --- 108 unchanged lines hidden (view full) --- 117void __raw_writesl(void __iomem *addr, const void *data, int longlen); 118void __raw_readsl(const void __iomem *addr, void *data, int longlen); 119#else 120__BUILD_MEMORY_STRING(__raw_, l, u32) 121#endif 122 123__BUILD_MEMORY_STRING(__raw_, q, u64) 124 | 1#ifndef __ASM_SH_IO_H 2#define __ASM_SH_IO_H 3 4/* 5 * Convention: 6 * read{b,w,l,q}/write{b,w,l,q} are for PCI, 7 * while in{b,w,l}/out{b,w,l} are for ISA 8 * --- 108 unchanged lines hidden (view full) --- 117void __raw_writesl(void __iomem *addr, const void *data, int longlen); 118void __raw_readsl(const void __iomem *addr, void *data, int longlen); 119#else 120__BUILD_MEMORY_STRING(__raw_, l, u32) 121#endif 122 123__BUILD_MEMORY_STRING(__raw_, q, u64) 124 |
125#ifdef CONFIG_HAS_IOPORT | 125#ifdef CONFIG_HAS_IOPORT_MAP |
126 127/* 128 * Slowdown I/O port space accesses for antique hardware. 129 */ 130#undef CONF_SLOWDOWN_IO 131 132/* 133 * On SuperH I/O ports are memory mapped, so we access them using normal --- 79 unchanged lines hidden (view full) --- 213 } \ 214} 215 216__BUILD_IOPORT_STRING(b, u8) 217__BUILD_IOPORT_STRING(w, u16) 218__BUILD_IOPORT_STRING(l, u32) 219__BUILD_IOPORT_STRING(q, u64) 220 | 126 127/* 128 * Slowdown I/O port space accesses for antique hardware. 129 */ 130#undef CONF_SLOWDOWN_IO 131 132/* 133 * On SuperH I/O ports are memory mapped, so we access them using normal --- 79 unchanged lines hidden (view full) --- 213 } \ 214} 215 216__BUILD_IOPORT_STRING(b, u8) 217__BUILD_IOPORT_STRING(w, u16) 218__BUILD_IOPORT_STRING(l, u32) 219__BUILD_IOPORT_STRING(q, u64) 220 |
221#else /* !CONFIG_HAS_IOPORT */ | 221#else /* !CONFIG_HAS_IOPORT_MAP */ |
222 223#include <asm/io_noioport.h> 224 225#endif 226 227 228#define IO_SPACE_LIMIT 0xffffffff 229 --- 161 unchanged lines hidden --- | 222 223#include <asm/io_noioport.h> 224 225#endif 226 227 228#define IO_SPACE_LIMIT 0xffffffff 229 --- 161 unchanged lines hidden --- |