summaryrefslogtreecommitdiff
path: root/sys/arch/sgi
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sgi')
-rw-r--r--sys/arch/sgi/sgi/sginode.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/sgi/sgi/sginode.c b/sys/arch/sgi/sgi/sginode.c
index 619f664407d..02843b59393 100644
--- a/sys/arch/sgi/sgi/sginode.c
+++ b/sys/arch/sgi/sgi/sginode.c
@@ -1,4 +1,5 @@
-/* $OpenBSD: sginode.c,v 1.5 2009/05/08 18:42:07 miod Exp $ */
+#define DEBUG
+/* $OpenBSD: sginode.c,v 1.6 2009/05/14 21:08:49 miod Exp $ */
/*
* Copyright (c) 2008, 2009 Miodrag Vallat.
*
@@ -136,7 +137,11 @@ kl_do_boardinfo(lboard_t *boardinfo)
cpu->type = (cpucomp->cpu_prid >> 8) & 0xff;
cpu->vers_maj = (cpucomp->cpu_prid >> 4) & 0x0f;
cpu->vers_min = cpucomp->cpu_prid & 0x0f;
+#if 0
cpu->fptype = (cpucomp->cpu_fpirr >> 8) & 0xff;
+#else
+ cpu->fptype = cpu->type;
+#endif
cpu->fpvers_maj =
(cpucomp->cpu_fpirr >> 4) & 0x0f;
cpu->fpvers_min = cpucomp->cpu_fpirr & 0x0f;