From 13ebf1a6b5b57e7faaee637c7a0a425bc41db435 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Tue, 15 Aug 2000 20:38:25 +0000 Subject: print cpu revision and type --- sys/arch/hppa/dev/cpu.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/arch/hppa') 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) { -- cgit v1.2.3