patch-2.4.19 linux-2.4.19/include/asm-mips64/ip32/io.h

Next file: linux-2.4.19/include/asm-mips64/ip32/ip32_ints.h
Previous file: linux-2.4.19/include/asm-mips64/ip32/crime.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/asm-mips64/ip32/io.h linux-2.4.19/include/asm-mips64/ip32/io.h
@@ -0,0 +1,15 @@
+#ifndef __ASM_IP32_IO_H__
+#define __ASM_IP32_IO_H__
+
+#include <asm/ip32/mace.h>
+
+/*#ifdef CONFIG_MIPS_UNCACHED*/
+#define UNCACHEDADDR(x) (0x9000000000000000UL | (u64)(x))
+/*#else
+#define UNCACHEDADDR(x) (x)
+#endif*/
+/*#define UNCACHEDADDR(x) (KSEG1ADDR (x)) */
+#define IO_SPACE_BASE UNCACHEDADDR (MACEPCI_HI_MEMORY)
+#define IO_SPACE_LIMIT 0xffffffffUL
+
+#endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)