diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2005-06-16 16:30:54 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:31:23 -0400 |
commit | 3bd4c902da14030c9a780cd0c4be2ffe9aee2974 (patch) | |
tree | 3ebf15e8aaa4029119028d32721fd7ccbe59bccf /include | |
parent | 902d21d5313ba08cccadc9fceee2df3cf34e84eb (diff) |
Deal with the bloody KSEG vs CKSEG horror...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-mips/dec/kn01.h | 4 | ||||
-rw-r--r-- | include/asm-mips/dec/kn02.h | 2 | ||||
-rw-r--r-- | include/asm-mips/dec/kn02xa.h | 14 | ||||
-rw-r--r-- | include/asm-mips/dec/kn03.h | 2 | ||||
-rw-r--r-- | include/asm-mips/dec/prom.h | 2 |
5 files changed, 12 insertions, 12 deletions
diff --git a/include/asm-mips/dec/kn01.h b/include/asm-mips/dec/kn01.h index 946943502f83..325fcbbbdfa0 100644 --- a/include/asm-mips/dec/kn01.h +++ b/include/asm-mips/dec/kn01.h | |||
@@ -15,7 +15,7 @@ | |||
15 | 15 | ||
16 | #include <asm/addrspace.h> | 16 | #include <asm/addrspace.h> |
17 | 17 | ||
18 | #define KN01_SLOT_BASE KSEG1ADDR(0x10000000) | 18 | #define KN01_SLOT_BASE CKSEG1ADDR(0x10000000) |
19 | #define KN01_SLOT_SIZE 0x01000000 | 19 | #define KN01_SLOT_SIZE 0x01000000 |
20 | 20 | ||
21 | /* | 21 | /* |
@@ -51,7 +51,7 @@ | |||
51 | /* | 51 | /* |
52 | * Frame buffer memory address. | 52 | * Frame buffer memory address. |
53 | */ | 53 | */ |
54 | #define KN01_VFB_MEM KSEG1ADDR(0x0fc00000) | 54 | #define KN01_VFB_MEM CKSEG1ADDR(0x0fc00000) |
55 | 55 | ||
56 | /* | 56 | /* |
57 | * CPU interrupt bits. | 57 | * CPU interrupt bits. |
diff --git a/include/asm-mips/dec/kn02.h b/include/asm-mips/dec/kn02.h index f797f7045920..2c935f972c67 100644 --- a/include/asm-mips/dec/kn02.h +++ b/include/asm-mips/dec/kn02.h | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <asm/dec/ecc.h> | 22 | #include <asm/dec/ecc.h> |
23 | 23 | ||
24 | 24 | ||
25 | #define KN02_SLOT_BASE KSEG1ADDR(0x1fc00000) | 25 | #define KN02_SLOT_BASE CKSEG1ADDR(0x1fc00000) |
26 | #define KN02_SLOT_SIZE 0x00080000 | 26 | #define KN02_SLOT_SIZE 0x00080000 |
27 | 27 | ||
28 | /* | 28 | /* |
diff --git a/include/asm-mips/dec/kn02xa.h b/include/asm-mips/dec/kn02xa.h index 648c4dcbba1d..f6bdf730d9fb 100644 --- a/include/asm-mips/dec/kn02xa.h +++ b/include/asm-mips/dec/kn02xa.h | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <asm/addrspace.h> | 20 | #include <asm/addrspace.h> |
21 | #include <asm/dec/ioasic_addrs.h> | 21 | #include <asm/dec/ioasic_addrs.h> |
22 | 22 | ||
23 | #define KN02XA_SLOT_BASE KSEG1ADDR(0x1c000000) | 23 | #define KN02XA_SLOT_BASE CKSEG1ADDR(0x1c000000) |
24 | 24 | ||
25 | /* | 25 | /* |
26 | * Some port addresses... | 26 | * Some port addresses... |
@@ -32,16 +32,16 @@ | |||
32 | /* | 32 | /* |
33 | * Memory control ASIC registers. | 33 | * Memory control ASIC registers. |
34 | */ | 34 | */ |
35 | #define KN02XA_MER KSEG1ADDR(0x0c400000) /* memory error register */ | 35 | #define KN02XA_MER CKSEG1ADDR(0x0c400000) /* memory error register */ |
36 | #define KN02XA_MSR KSEG1ADDR(0x0c800000) /* memory size register */ | 36 | #define KN02XA_MSR CKSEG1ADDR(0x0c800000) /* memory size register */ |
37 | 37 | ||
38 | /* | 38 | /* |
39 | * CPU control ASIC registers. | 39 | * CPU control ASIC registers. |
40 | */ | 40 | */ |
41 | #define KN02XA_MEM_CONF KSEG1ADDR(0x0e000000) /* write timeout config */ | 41 | #define KN02XA_MEM_CONF CKSEG1ADDR(0x0e000000) /* write timeout config */ |
42 | #define KN02XA_EAR KSEG1ADDR(0x0e000004) /* error address register */ | 42 | #define KN02XA_EAR CKSEG1ADDR(0x0e000004) /* error address register */ |
43 | #define KN02XA_BOOT0 KSEG1ADDR(0x0e000008) /* boot 0 register */ | 43 | #define KN02XA_BOOT0 CKSEG1ADDR(0x0e000008) /* boot 0 register */ |
44 | #define KN02XA_MEM_INTR KSEG1ADDR(0x0e00000c) /* write err IRQ stat & ack */ | 44 | #define KN02XA_MEM_INTR CKSEG1ADDR(0x0e00000c) /* write err IRQ stat & ack */ |
45 | 45 | ||
46 | /* | 46 | /* |
47 | * Memory Error Register bits, common definitions. | 47 | * Memory Error Register bits, common definitions. |
diff --git a/include/asm-mips/dec/kn03.h b/include/asm-mips/dec/kn03.h index 676abd17c6a4..9d787cc26353 100644 --- a/include/asm-mips/dec/kn03.h +++ b/include/asm-mips/dec/kn03.h | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <asm/dec/ecc.h> | 19 | #include <asm/dec/ecc.h> |
20 | #include <asm/dec/ioasic_addrs.h> | 20 | #include <asm/dec/ioasic_addrs.h> |
21 | 21 | ||
22 | #define KN03_SLOT_BASE KSEG1ADDR(0x1f800000) | 22 | #define KN03_SLOT_BASE CKSEG1ADDR(0x1f800000) |
23 | 23 | ||
24 | /* | 24 | /* |
25 | * Some port addresses... | 25 | * Some port addresses... |
diff --git a/include/asm-mips/dec/prom.h b/include/asm-mips/dec/prom.h index a05d6d3395fe..59b8ce6e9b36 100644 --- a/include/asm-mips/dec/prom.h +++ b/include/asm-mips/dec/prom.h | |||
@@ -24,7 +24,7 @@ | |||
24 | * PMAX/3MAX PROM entry points for DS2100/3100's and DS5000/2xx's. | 24 | * PMAX/3MAX PROM entry points for DS2100/3100's and DS5000/2xx's. |
25 | * Many of these will work for MIPSen as well! | 25 | * Many of these will work for MIPSen as well! |
26 | */ | 26 | */ |
27 | #define VEC_RESET (u64 *)KSEG1ADDR(0x1fc00000) | 27 | #define VEC_RESET (u64 *)CKSEG1ADDR(0x1fc00000) |
28 | /* Prom base address */ | 28 | /* Prom base address */ |
29 | 29 | ||
30 | #define PMAX_PROM_ENTRY(x) (VEC_RESET + (x)) /* Prom jump table */ | 30 | #define PMAX_PROM_ENTRY(x) (VEC_RESET + (x)) /* Prom jump table */ |