]> rtime.felk.cvut.cz Git - mcf548x/linux.git/blobdiff - arch/m68k/include/asm/io_mm.h
IO_SPACE_LIMIT extended to 0xffffffff
[mcf548x/linux.git] / arch / m68k / include / asm / io_mm.h
index 0fb3468000e719e0e7e5f58e97ae229a2e7a6378..2f83c251909ac362d3e37916362b4d82b6e5d68b 100644 (file)
@@ -312,10 +312,12 @@ static inline void memcpy_toio(volatile void __iomem *dst, const void *src, int
        __builtin_memcpy((void __force *) dst, src, count);
 }
 
-#ifndef CONFIG_SUN3
-#define IO_SPACE_LIMIT 0xffff
-#else
+#if defined(CONFIG_SUN3)
 #define IO_SPACE_LIMIT 0x0fffffff
+#elif defined(CONFIG_COLDFIRE)
+#define IO_SPACE_LIMIT 0xffffffff
+#else
+#define IO_SPACE_LIMIT 0xffff
 #endif
 
 #endif /* __KERNEL__ */