summaryrefslogtreecommitdiffstats
path: root/include/asm-m68k/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-m68k/io.h')
-rw-r--r--include/asm-m68k/io.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/asm-m68k/io.h b/include/asm-m68k/io.h
index b8057d1ec..7e4cfcc27 100644
--- a/include/asm-m68k/io.h
+++ b/include/asm-m68k/io.h
@@ -14,7 +14,7 @@
#include <asm/virtconvert.h>
/*
- * These are for ISA/PCI shared memory _only_ and should never be used
+ * These are for PCI shared memory _only_ and should never be used
* on any other type of memory, including Zorro memory. They are meant to
* access the bus in the bus byte order which is little-endian!.
*
@@ -47,8 +47,11 @@
#define outb(x,addr) ((void) writeb(x,addr))
#define outb_p(x,addr) outb(x,addr)
+#ifndef CONFIG_SUN3
#define IO_SPACE_LIMIT 0xffff
-
+#else
+#define IO_SPACE_LIMIT 0x0fffffff
+#endif
/* Values for nocacheflag and cmode */
#define IOMAP_FULL_CACHING 0