Deal with the bloody KSEG vs CKSEG horror...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
committed by
Ralf Baechle
parent
902d21d531
commit
3bd4c902da
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1637,21 +1637,21 @@ static void __init probe_sccs(void)
|
||||
#ifdef CONFIG_MACH_DECSTATION
|
||||
case MACH_DS5000_2X0:
|
||||
case MACH_DS5900:
|
||||
system_base = KSEG1ADDR(0x1f800000);
|
||||
system_base = CKSEG1ADDR(0x1f800000);
|
||||
n_chips = 2;
|
||||
zs_parms = &ds_parms;
|
||||
zs_parms->irq0 = dec_interrupt[DEC_IRQ_SCC0];
|
||||
zs_parms->irq1 = dec_interrupt[DEC_IRQ_SCC1];
|
||||
break;
|
||||
case MACH_DS5000_1XX:
|
||||
system_base = KSEG1ADDR(0x1c000000);
|
||||
system_base = CKSEG1ADDR(0x1c000000);
|
||||
n_chips = 2;
|
||||
zs_parms = &ds_parms;
|
||||
zs_parms->irq0 = dec_interrupt[DEC_IRQ_SCC0];
|
||||
zs_parms->irq1 = dec_interrupt[DEC_IRQ_SCC1];
|
||||
break;
|
||||
case MACH_DS5000_XX:
|
||||
system_base = KSEG1ADDR(0x1c000000);
|
||||
system_base = CKSEG1ADDR(0x1c000000);
|
||||
n_chips = 1;
|
||||
zs_parms = &ds_parms;
|
||||
zs_parms->irq0 = dec_interrupt[DEC_IRQ_SCC0];
|
||||
|
||||
Reference in New Issue
Block a user