diff options
Diffstat (limited to 'arch/mips/lasat/prom.c')
| -rw-r--r-- | arch/mips/lasat/prom.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/mips/lasat/prom.c b/arch/mips/lasat/prom.c index 209edcc26f07..6acc6cb85f0a 100644 --- a/arch/mips/lasat/prom.c +++ b/arch/mips/lasat/prom.c | |||
| @@ -86,18 +86,16 @@ void __init prom_init(void) | |||
| 86 | 86 | ||
| 87 | setup_prom_vectors(); | 87 | setup_prom_vectors(); |
| 88 | 88 | ||
| 89 | if (current_cpu_data.cputype == CPU_R5000) { | 89 | if (IS_LASAT_200()) { |
| 90 | printk(KERN_INFO "LASAT 200 board\n"); | 90 | printk(KERN_INFO "LASAT 200 board\n"); |
| 91 | mips_machtype = MACH_LASAT_200; | ||
| 92 | lasat_ndelay_divider = LASAT_200_DIVIDER; | 91 | lasat_ndelay_divider = LASAT_200_DIVIDER; |
| 92 | at93c = &at93c_defs[1]; | ||
| 93 | } else { | 93 | } else { |
| 94 | printk(KERN_INFO "LASAT 100 board\n"); | 94 | printk(KERN_INFO "LASAT 100 board\n"); |
| 95 | mips_machtype = MACH_LASAT_100; | ||
| 96 | lasat_ndelay_divider = LASAT_100_DIVIDER; | 95 | lasat_ndelay_divider = LASAT_100_DIVIDER; |
| 96 | at93c = &at93c_defs[0]; | ||
| 97 | } | 97 | } |
| 98 | 98 | ||
| 99 | at93c = &at93c_defs[mips_machtype]; | ||
| 100 | |||
| 101 | lasat_init_board_info(); /* Read info from EEPROM */ | 99 | lasat_init_board_info(); /* Read info from EEPROM */ |
| 102 | 100 | ||
| 103 | /* Get the command line */ | 101 | /* Get the command line */ |
