X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=arch%2Fmips%2Flasat%2Fsetup.c;h=dbd3163a85c2fef53190e4646dbe832c17d6b212;hb=f2ec26a3d41c8a07861aed23bc8c8eb7d9445d62;hp=e072da4ff3b3c6398e5f2cbb53ed8c7d402572e8;hpb=febb187761b02fce7d61b9c897d0e701f672b5ee;p=~andy%2Flinux diff --git a/arch/mips/lasat/setup.c b/arch/mips/lasat/setup.c index e072da4ff3b..dbd3163a85c 100644 --- a/arch/mips/lasat/setup.c +++ b/arch/mips/lasat/setup.c @@ -127,9 +127,11 @@ void __init plat_time_init(void) void __init plat_mem_setup(void) { int i; - lasat_misc = &lasat_misc_info[mips_machtype]; + int lasat_type = IS_LASAT_200() ? 1 : 0; + + lasat_misc = &lasat_misc_info[lasat_type]; #ifdef CONFIG_PICVUE - picvue = &pvc_defs[mips_machtype]; + picvue = &pvc_defs[lasat_type]; #endif /* Set up panic notifier */ @@ -140,7 +142,7 @@ void __init plat_mem_setup(void) lasat_reboot_setup(); #ifdef CONFIG_DS1603 - ds1603 = &ds_defs[mips_machtype]; + ds1603 = &ds_defs[lasat_type]; #endif #ifdef DYNAMIC_SERIAL_INIT