diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-05-08 03:16:09 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-05-08 03:16:09 +0000 |
commit | 5cdc21f83cacc74843850675c9120059aff25c25 (patch) | |
tree | b8eab84444db6d53d09408798ce1836371747465 /sys/arch/hppa/dev | |
parent | b3a7d8e38ee8429d7f9842835c21248ef9aba32c (diff) |
print parisc level w/ the the parisc version, not for each cpu
Diffstat (limited to 'sys/arch/hppa/dev')
-rw-r--r-- | sys/arch/hppa/dev/cpu.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/hppa/dev/cpu.c b/sys/arch/hppa/dev/cpu.c index e615691ada3..9f3ec4ff12d 100644 --- a/sys/arch/hppa/dev/cpu.c +++ b/sys/arch/hppa/dev/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.16 2002/03/26 05:29:02 mickey Exp $ */ +/* $OpenBSD: cpu.c,v 1.17 2002/05/08 03:16:08 mickey Exp $ */ /* * Copyright (c) 1998-2002 Michael Shalayeff @@ -118,7 +118,9 @@ cpuattach(parent, self, aux) /* XXX p = hppa_mod_info(HPPA_TYPE_CPU,pdc_cversion[0]); */ } - printf (": %s rev %d ", p? p : cpu_typename, (*cpu_desidhash)()); + printf (": %s ", p? p : cpu_typename); + if (sc->sc_dev.dv_xname) + (*cpu_desidhash)(); if ((err = pdc_call((iodcio_t)pdc, 0, PDC_MODEL, PDC_MODEL_INFO, &pdc_model)) < 0) { |