[ALSA] Fix description of cs5535audio driver in ALSA-Configuration.txt
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-m68k / nubus.h
blobd6be9976f1ae723839026d22c25c57694a045a4a
1 #ifndef _ASM_M68K_NUBUS_H
2 #define _ASM_M68K_NUBUS_H
4 #include <asm/raw_io.h>
6 #define nubus_readb raw_inb
7 #define nubus_readw raw_inw
8 #define nubus_readl raw_inl
10 #define nubus_writeb raw_outb
11 #define nubus_writew raw_outw
12 #define nubus_writel raw_outl
14 #define nubus_memset_io(a,b,c) memset((void *)(a),(b),(c))
15 #define nubus_memcpy_fromio(a,b,c) memcpy((a),(void *)(b),(c))
16 #define nubus_memcpy_toio(a,b,c) memcpy((void *)(a),(b),(c))
18 static inline void *nubus_remap_nocache_ser(unsigned long physaddr,
19 unsigned long size)
21 return __ioremap(physaddr, size, IOMAP_NOCACHE_SER);
24 static inline void *nubus_remap_nocache_nonser(unsigned long physaddr,
25 unsigned long size)
27 return __ioremap(physaddr, size, IOMAP_NOCACHE_NONSER);
30 static inline void *nbus_remap_writethrough(unsigned long physaddr,
31 unsigned long size)
33 return __ioremap(physaddr, size, IOMAP_WRITETHROUGH);
36 static inline void *nubus_remap_fullcache(unsigned long physaddr,
37 unsigned long size)
39 return __ioremap(physaddr, size, IOMAP_FULL_CACHING);
42 #define nubus_unmap iounmap
43 #define nubus_iounmap iounmap
44 #define nubus_ioremap nubus_remap_nocache_ser
46 #endif /* _ASM_NUBUS_H */