summaryrefslogtreecommitdiffstats
path: root/sys/mips/mips/machdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/mips/mips/machdep.c')
-rw-r--r--sys/mips/mips/machdep.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/mips/mips/machdep.c b/sys/mips/mips/machdep.c
index 93b803b..9ddec73 100644
--- a/sys/mips/mips/machdep.c
+++ b/sys/mips/mips/machdep.c
@@ -103,9 +103,12 @@ __FBSDID("$FreeBSD$");
char machine[] = "mips";
SYSCTL_STRING(_hw, HW_MACHINE, machine, CTLFLAG_RD, machine, 0, "Machine class");
-static char cpu_model[30];
+char cpu_model[80];
SYSCTL_STRING(_hw, HW_MODEL, model, CTLFLAG_RD, cpu_model, 0, "Machine model");
+char cpu_board[80];
+SYSCTL_STRING(_hw, OID_AUTO, board, CTLFLAG_RD, cpu_board, 0, "Machine board");
+
int cold = 1;
long realmem = 0;
long Maxmem = 0;
OpenPOWER on IntegriCloud