|
|
@ -131,3 +131,27 @@ |
|
|
|
config NO_IOPORT
|
|
|
|
config NO_IOPORT
|
|
|
|
def_bool n
|
|
|
|
def_bool n
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
--- a/arch/mips/kernel/proc.c
|
|
|
|
|
|
|
|
+++ b/arch/mips/kernel/proc.c
|
|
|
|
|
|
|
|
@@ -14,6 +14,7 @@
|
|
|
|
|
|
|
|
#include <asm/cpu-features.h>
|
|
|
|
|
|
|
|
#include <asm/mipsregs.h>
|
|
|
|
|
|
|
|
#include <asm/processor.h>
|
|
|
|
|
|
|
|
+#include <asm/mips_machine.h>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unsigned int vced_count, vcei_count;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -33,8 +34,12 @@ static int show_cpuinfo(struct seq_file
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
* For the first processor also print the system type
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
- if (n == 0)
|
|
|
|
|
|
|
|
+ if (n == 0) {
|
|
|
|
|
|
|
|
seq_printf(m, "system type\t\t: %s\n", get_system_type());
|
|
|
|
|
|
|
|
+#ifdef CONFIG_MIPS_MACHINE
|
|
|
|
|
|
|
|
+ seq_printf(m, "machine\t\t\t: %s\n", mips_machine_name);
|
|
|
|
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
seq_printf(m, "processor\t\t: %ld\n", n);
|
|
|
|
|
|
|
|
sprintf(fmt, "cpu model\t\t: %%s V%%d.%%d%s\n",
|
|
|
|