]> err.no Git - linux-2.6/blobdiff - arch/mips/lasat/prom.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
[linux-2.6] / arch / mips / lasat / prom.c
index 4b80fffcf262fec26686c2d746655b9dbc00c081..6acc6cb85f0ae8032e19af25dc85a79cf05a3760 100644 (file)
@@ -86,22 +86,18 @@ void __init prom_init(void)
 
        setup_prom_vectors();
 
-       if (current_cpu_data.cputype == CPU_R5000) {
+       if (IS_LASAT_200()) {
                printk(KERN_INFO "LASAT 200 board\n");
-               mips_machtype = MACH_LASAT_200;
                lasat_ndelay_divider = LASAT_200_DIVIDER;
+               at93c = &at93c_defs[1];
        } else {
                printk(KERN_INFO "LASAT 100 board\n");
-               mips_machtype = MACH_LASAT_100;
                lasat_ndelay_divider = LASAT_100_DIVIDER;
+               at93c = &at93c_defs[0];
        }
 
-       at93c = &at93c_defs[mips_machtype];
-
        lasat_init_board_info();                /* Read info from EEPROM */
 
-       mips_machgroup = MACH_GROUP_LASAT;
-
        /* Get the command line */
        if (argc > 0) {
                strncpy(arcs_cmdline, argv[0], CL_SIZE-1);