summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-08-15 20:38:25 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-08-15 20:38:25 +0000
commit13ebf1a6b5b57e7faaee637c7a0a425bc41db435 (patch)
tree0e09e748ba55fdb560ca68d4e3cf085706b494a7 /sys/arch/hppa
parent210d376637af29cc754cdc019f2f50bb13de53f4 (diff)
print cpu revision and type
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/dev/cpu.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/hppa/dev/cpu.c b/sys/arch/hppa/dev/cpu.c
index a34b925bfe4..67b394d769e 100644
--- a/sys/arch/hppa/dev/cpu.c
+++ b/sys/arch/hppa/dev/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.7 2000/07/03 17:07:08 mickey Exp $ */
+/* $OpenBSD: cpu.c,v 1.8 2000/08/15 20:38:24 mickey Exp $ */
/*
* Copyright (c) 1998,1999 Michael Shalayeff
@@ -116,8 +116,7 @@ cpuattach(parent, self, aux)
/* XXX p = hppa_mod_info(HPPA_TYPE_CPU,pdc_cversion[0]); */
}
- printf (": %s v%d.%d, ", p? p : "PA7000",
- pdc_cpuid.revision >> 4, pdc_cpuid.revision & 0xf);
+ printf (": %s rev %d, ", p? p : cpu_typename, (*cpu_desidhash)());
if ((err = pdc_call((iodcio_t)pdc, 0, PDC_MODEL, PDC_MODEL_INFO,
&pdc_model)) < 0) {