From 3bd4c902da14030c9a780cd0c4be2ffe9aee2974 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Thu, 16 Jun 2005 20:30:54 +0000 Subject: Deal with the bloody KSEG vs CKSEG horror... Signed-off-by: Ralf Baechle --- drivers/tc/tc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'drivers/tc/tc.c') diff --git a/drivers/tc/tc.c b/drivers/tc/tc.c index a89ef4df80c..2613c5135c0 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; } } -- cgit v1.2.3