setup_32.c (58fa4dcbc419c4d381ed7ccfe6e9e747aaf88aeb) | setup_32.c (6e54e9503ea84f2c3571cda7146fb42184f0d7e6) |
---|---|
1/* 2 * linux/arch/sparc/kernel/setup.c 3 * 4 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) 5 * Copyright (C) 2000 Anton Blanchard (anton@samba.org) 6 */ 7 8#include <linux/errno.h> --- 203 unchanged lines hidden (view full) --- 212 parse_early_param(); 213 214 boot_flags_init(*cmdline_p); 215 216 register_console(&prom_early_console); 217 218 /* Set sparc_cpu_model */ 219 sparc_cpu_model = sun_unknown; | 1/* 2 * linux/arch/sparc/kernel/setup.c 3 * 4 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) 5 * Copyright (C) 2000 Anton Blanchard (anton@samba.org) 6 */ 7 8#include <linux/errno.h> --- 203 unchanged lines hidden (view full) --- 212 parse_early_param(); 213 214 boot_flags_init(*cmdline_p); 215 216 register_console(&prom_early_console); 217 218 /* Set sparc_cpu_model */ 219 sparc_cpu_model = sun_unknown; |
220 if (!strcmp(&cputypval[0], "sun4 ")) 221 sparc_cpu_model = sun4; 222 if (!strcmp(&cputypval[0], "sun4c")) 223 sparc_cpu_model = sun4c; | |
224 if (!strcmp(&cputypval[0], "sun4m")) 225 sparc_cpu_model = sun4m; 226 if (!strcmp(&cputypval[0], "sun4s")) 227 sparc_cpu_model = sun4m; /* CP-1200 with PROM 2.30 -E */ 228 if (!strcmp(&cputypval[0], "sun4d")) 229 sparc_cpu_model = sun4d; 230 if (!strcmp(&cputypval[0], "sun4e")) 231 sparc_cpu_model = sun4e; 232 if (!strcmp(&cputypval[0], "sun4u")) 233 sparc_cpu_model = sun4u; 234 if (!strncmp(&cputypval[0], "leon" , 4)) 235 sparc_cpu_model = sparc_leon; 236 237 printk("ARCH: "); 238 switch(sparc_cpu_model) { | 220 if (!strcmp(&cputypval[0], "sun4m")) 221 sparc_cpu_model = sun4m; 222 if (!strcmp(&cputypval[0], "sun4s")) 223 sparc_cpu_model = sun4m; /* CP-1200 with PROM 2.30 -E */ 224 if (!strcmp(&cputypval[0], "sun4d")) 225 sparc_cpu_model = sun4d; 226 if (!strcmp(&cputypval[0], "sun4e")) 227 sparc_cpu_model = sun4e; 228 if (!strcmp(&cputypval[0], "sun4u")) 229 sparc_cpu_model = sun4u; 230 if (!strncmp(&cputypval[0], "leon" , 4)) 231 sparc_cpu_model = sparc_leon; 232 233 printk("ARCH: "); 234 switch(sparc_cpu_model) { |
239 case sun4: 240 printk("SUN4\n"); 241 break; 242 case sun4c: 243 printk("SUN4C\n"); 244 break; | |
245 case sun4m: 246 printk("SUN4M\n"); 247 break; 248 case sun4d: 249 printk("SUN4D\n"); 250 break; 251 case sun4e: 252 printk("SUN4E\n"); --- 100 unchanged lines hidden --- | 235 case sun4m: 236 printk("SUN4M\n"); 237 break; 238 case sun4d: 239 printk("SUN4D\n"); 240 break; 241 case sun4e: 242 printk("SUN4E\n"); --- 100 unchanged lines hidden --- |