summaryrefslogtreecommitdiffstats
path: root/drivers/tc/tc.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2005-06-16 20:30:54 +0000
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 19:31:23 +0100
commit3bd4c902da14030c9a780cd0c4be2ffe9aee2974 (patch)
tree3ebf15e8aaa4029119028d32721fd7ccbe59bccf /drivers/tc/tc.c
parent902d21d5313ba08cccadc9fceee2df3cf34e84eb (diff)
downloadop-kernel-dev-3bd4c902da14030c9a780cd0c4be2ffe9aee2974.zip
op-kernel-dev-3bd4c902da14030c9a780cd0c4be2ffe9aee2974.tar.gz
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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/tc/tc.c b/drivers/tc/tc.c
index a89ef4d..2613c51 100644
--- a/drivers/tc/tc.c
+++ b/drivers/tc/tc.c
@@ -197,7 +197,7 @@ void __init tc_init(void)
}
info = (tcinfo *) rex_gettcinfo();
- slot0addr = (unsigned long)KSEG1ADDR(rex_slot_address(0));
+ slot0addr = (unsigned long)CKSEG1ADDR(rex_slot_address(0));
switch (mips_machtype) {
case MACH_DS5000_200:
@@ -245,7 +245,6 @@ void __init tc_init(void)
tc_bus[i].name, tc_bus[i].firmware);
}
#endif
- ioport_resource.end = KSEG2 - 1;
}
}
OpenPOWER on IntegriCloud