diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-ppc/io.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-ppc/io.h b/include/asm-ppc/io.h index bfb639f9e420..ccf1a9bb2e43 100644 --- a/include/asm-ppc/io.h +++ b/include/asm-ppc/io.h | |||
@@ -231,6 +231,14 @@ static inline void __raw_writel(__u32 b, volatile void __iomem *addr) | |||
231 | #define insl(port, buf, nl) _insl_ns((port)+___IO_BASE, (buf), (nl)) | 231 | #define insl(port, buf, nl) _insl_ns((port)+___IO_BASE, (buf), (nl)) |
232 | #define outsl(port, buf, nl) _outsl_ns((port)+___IO_BASE, (buf), (nl)) | 232 | #define outsl(port, buf, nl) _outsl_ns((port)+___IO_BASE, (buf), (nl)) |
233 | 233 | ||
234 | #define readsb(a, b, n) _insb((a), (b), (n)) | ||
235 | #define readsw(a, b, n) _insw_ns((a), (b), (n)) | ||
236 | #define readsl(a, b, n) _insl_ns((a), (b), (n)) | ||
237 | #define writesb(a, b, n) _outsb((a),(b),(n)) | ||
238 | #define writesw(a, b, n) _outsw_ns((a),(b),(n)) | ||
239 | #define writesl(a, b, n) _outsl_ns((a),(b),(n)) | ||
240 | |||
241 | |||
234 | /* | 242 | /* |
235 | * On powermacs and 8xx we will get a machine check exception | 243 | * On powermacs and 8xx we will get a machine check exception |
236 | * if we try to read data from a non-existent I/O port. Because | 244 | * if we try to read data from a non-existent I/O port. Because |