diff options
Diffstat (limited to 'arch/cris/arch-v10/kernel/setup.c')
-rw-r--r-- | arch/cris/arch-v10/kernel/setup.c | 58 |
1 files changed, 30 insertions, 28 deletions
diff --git a/arch/cris/arch-v10/kernel/setup.c b/arch/cris/arch-v10/kernel/setup.c index 4f96d71b5154..7ab31f1c7540 100644 --- a/arch/cris/arch-v10/kernel/setup.c +++ b/arch/cris/arch-v10/kernel/setup.c | |||
@@ -63,35 +63,37 @@ int show_cpuinfo(struct seq_file *m, void *v) | |||
63 | else | 63 | else |
64 | info = &cpu_info[revision]; | 64 | info = &cpu_info[revision]; |
65 | 65 | ||
66 | return seq_printf(m, | 66 | seq_printf(m, |
67 | "processor\t: 0\n" | 67 | "processor\t: 0\n" |
68 | "cpu\t\t: CRIS\n" | 68 | "cpu\t\t: CRIS\n" |
69 | "cpu revision\t: %lu\n" | 69 | "cpu revision\t: %lu\n" |
70 | "cpu model\t: %s\n" | 70 | "cpu model\t: %s\n" |
71 | "cache size\t: %d kB\n" | 71 | "cache size\t: %d kB\n" |
72 | "fpu\t\t: %s\n" | 72 | "fpu\t\t: %s\n" |
73 | "mmu\t\t: %s\n" | 73 | "mmu\t\t: %s\n" |
74 | "mmu DMA bug\t: %s\n" | 74 | "mmu DMA bug\t: %s\n" |
75 | "ethernet\t: %s Mbps\n" | 75 | "ethernet\t: %s Mbps\n" |
76 | "token ring\t: %s\n" | 76 | "token ring\t: %s\n" |
77 | "scsi\t\t: %s\n" | 77 | "scsi\t\t: %s\n" |
78 | "ata\t\t: %s\n" | 78 | "ata\t\t: %s\n" |
79 | "usb\t\t: %s\n" | 79 | "usb\t\t: %s\n" |
80 | "bogomips\t: %lu.%02lu\n", | 80 | "bogomips\t: %lu.%02lu\n", |
81 | 81 | ||
82 | revision, | 82 | revision, |
83 | info->model, | 83 | info->model, |
84 | info->cache, | 84 | info->cache, |
85 | info->flags & HAS_FPU ? "yes" : "no", | 85 | info->flags & HAS_FPU ? "yes" : "no", |
86 | info->flags & HAS_MMU ? "yes" : "no", | 86 | info->flags & HAS_MMU ? "yes" : "no", |
87 | info->flags & HAS_MMU_BUG ? "yes" : "no", | 87 | info->flags & HAS_MMU_BUG ? "yes" : "no", |
88 | info->flags & HAS_ETHERNET100 ? "10/100" : "10", | 88 | info->flags & HAS_ETHERNET100 ? "10/100" : "10", |
89 | info->flags & HAS_TOKENRING ? "4/16 Mbps" : "no", | 89 | info->flags & HAS_TOKENRING ? "4/16 Mbps" : "no", |
90 | info->flags & HAS_SCSI ? "yes" : "no", | 90 | info->flags & HAS_SCSI ? "yes" : "no", |
91 | info->flags & HAS_ATA ? "yes" : "no", | 91 | info->flags & HAS_ATA ? "yes" : "no", |
92 | info->flags & HAS_USB ? "yes" : "no", | 92 | info->flags & HAS_USB ? "yes" : "no", |
93 | (loops_per_jiffy * HZ + 500) / 500000, | 93 | (loops_per_jiffy * HZ + 500) / 500000, |
94 | ((loops_per_jiffy * HZ + 500) / 5000) % 100); | 94 | ((loops_per_jiffy * HZ + 500) / 5000) % 100); |
95 | |||
96 | return 0; | ||
95 | } | 97 | } |
96 | 98 | ||
97 | #endif /* CONFIG_PROC_FS */ | 99 | #endif /* CONFIG_PROC_FS */ |