summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
authorHugh Graham <hugh@cvs.openbsd.org>2001-01-28 02:24:26 +0000
committerHugh Graham <hugh@cvs.openbsd.org>2001-01-28 02:24:26 +0000
commitf60d66601c787ffdc0a781bb486bf0f86b390b14 (patch)
tree5048069df3010b58ba73e613163abd07c2c3c5a0 /sys/arch/vax
parent5153c55db10291533ef521f189c47ecdc3cccd9f (diff)
Print contents of the SID and extension as well as findcpu's guess.
Doesn't take up much space, and provides unequivocal information.
Diffstat (limited to 'sys/arch/vax')
-rw-r--r--sys/arch/vax/vax/findcpu.c6
-rw-r--r--sys/arch/vax/vax/machdep.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/vax/vax/findcpu.c b/sys/arch/vax/vax/findcpu.c
index 2bb46c01bc4..46bc18fe75b 100644
--- a/sys/arch/vax/vax/findcpu.c
+++ b/sys/arch/vax/vax/findcpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: findcpu.c,v 1.3 2000/10/11 11:32:07 hugh Exp $ */
+/* $OpenBSD: findcpu.c,v 1.4 2001/01/28 02:24:25 hugh Exp $ */
/* $NetBSD: findcpu.c,v 1.5 1999/08/23 19:10:43 ragge Exp $ */
/*
* Copyright (c) 1994, 1998 Ludd, University of Lule}, Sweden.
@@ -49,8 +49,8 @@ int vax_cputype; /* highest byte of SID register */
int vax_bustype; /* holds/defines all busses on this machine */
int vax_boardtype; /* machine dependend, combination of SID and SIE */
-int vax_cpudata; /* contents of the SID register */
-int vax_siedata; /* contents of the SIE register */
+int vax_cpudata = 0; /* contents of the SID register */
+int vax_siedata = 0; /* contents of the SIE register */
int vax_confdata; /* machine dependend, configuration/setup data */
/*
diff --git a/sys/arch/vax/vax/machdep.c b/sys/arch/vax/vax/machdep.c
index 5c12d690d11..6c17c43e5ba 100644
--- a/sys/arch/vax/vax/machdep.c
+++ b/sys/arch/vax/vax/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.27 2000/10/27 00:16:22 mickey Exp $ */
+/* $OpenBSD: machdep.c,v 1.28 2001/01/28 02:24:24 hugh Exp $ */
/* $NetBSD: machdep.c,v 1.108 2000/09/13 15:00:23 thorpej Exp $ */
/*
@@ -183,7 +183,7 @@ cpu_startup()
* Good {morning,afternoon,evening,night}.
* Also call CPU init on systems that need that.
*/
- printf("%s%s\n", version, cpu_model);
+ printf("%s%s [%08X %08X]\n", version, cpu_model, vax_cpudata, vax_siedata);
if (dep_call->cpu_conf)
(*dep_call->cpu_conf)();