Ok. I didn't make 2.4.0 in 2000. Tough. I tried, but we had some
[davej-history.git] / include / asm-sh / bugs.h
blobed5c57692e4d869effc25396b76f1d02244094a2
1 #ifndef __ASM_SH_BUGS_H
2 #define __ASM_SH_BUGS_H
4 /*
5 * This is included by init/main.c to check for architecture-dependent bugs.
7 * Needs:
8 * void check_bugs(void);
9 */
12 * I don't know of any Super-H bugs yet.
15 #include <asm/processor.h>
17 static void __init check_bugs(void)
19 extern unsigned long loops_per_sec;
20 char *p= &system_utsname.machine[2]; /* "sh" */
22 cpu_data->loops_per_sec = loops_per_sec;
24 switch (cpu_data->type) {
25 case CPU_SH7708:
26 *p++ = '3';
27 printk("CPU: SH7707/SH7708/SH7709\n");
28 break;
29 case CPU_SH7729:
30 *p++ = '3';
31 printk("CPU: SH7709A/SH7729\n");
32 break;
33 case CPU_SH7750:
34 *p++ = '4';
35 printk("CPU: SH7750\n");
36 break;
37 default:
38 printk("CPU: ??????\n");
39 break;
42 #ifndef __LITTLE_ENDIAN__
43 /* 'eb' means 'Endian Big' */
44 *p++ = 'e';
45 *p++ = 'b';
46 #endif
47 *p = '\0';
49 #endif /* __ASM_SH_BUGS_H */