summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/dev/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa/dev/cpu.c')
-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) {