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 /drivers/tc/tc.c | |
parent | 902d21d5313ba08cccadc9fceee2df3cf34e84eb (diff) |
Deal with the bloody KSEG vs CKSEG horror...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/tc/tc.c')
-rw-r--r-- | drivers/tc/tc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/tc/tc.c b/drivers/tc/tc.c index a89ef4df80c3..2613c5135c09 100644 --- a/drivers/tc/tc.c +++ b/drivers/tc/tc.c | |||
@@ -197,7 +197,7 @@ void __init tc_init(void) | |||
197 | } | 197 | } |
198 | 198 | ||
199 | info = (tcinfo *) rex_gettcinfo(); | 199 | info = (tcinfo *) rex_gettcinfo(); |
200 | slot0addr = (unsigned long)KSEG1ADDR(rex_slot_address(0)); | 200 | slot0addr = (unsigned long)CKSEG1ADDR(rex_slot_address(0)); |
201 | 201 | ||
202 | switch (mips_machtype) { | 202 | switch (mips_machtype) { |
203 | case MACH_DS5000_200: | 203 | case MACH_DS5000_200: |
@@ -245,7 +245,6 @@ void __init tc_init(void) | |||
245 | tc_bus[i].name, tc_bus[i].firmware); | 245 | tc_bus[i].name, tc_bus[i].firmware); |
246 | } | 246 | } |
247 | #endif | 247 | #endif |
248 | ioport_resource.end = KSEG2 - 1; | ||
249 | } | 248 | } |
250 | } | 249 | } |
251 | 250 | ||