summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/dev/cpu.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-03-29 00:52:46 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-03-29 00:52:46 +0000
commit5be49c88835737629dbe8f5d886ff86e4664d246 (patch)
tree0505766696fa5e6e41cfe4cd4f908791198cad40 /sys/arch/hppa/dev/cpu.c
parentcd6b8526d55af47877665cb3aee10260bc090114 (diff)
fix fpu printout and remove dead code piece
Diffstat (limited to 'sys/arch/hppa/dev/cpu.c')
-rw-r--r--sys/arch/hppa/dev/cpu.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/arch/hppa/dev/cpu.c b/sys/arch/hppa/dev/cpu.c
index 7011e3d9767..932ba6cac42 100644
--- a/sys/arch/hppa/dev/cpu.c
+++ b/sys/arch/hppa/dev/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.20 2002/12/08 17:21:43 mickey Exp $ */
+/* $OpenBSD: cpu.c,v 1.21 2003/03/29 00:52:45 mickey Exp $ */
/*
* Copyright (c) 1998-2002 Michael Shalayeff
@@ -143,7 +143,7 @@ cpuattach(parent, self, aux)
printf ("%d", mhz / 100);
if (mhz % 100 > 9)
printf(".%02d", mhz % 100);
- printf("MHz, ");
+ printf("MHz");
if (fpu_enable) {
u_int32_t ver[2];
@@ -156,13 +156,10 @@ cpuattach(parent, self, aux)
:: "r" (&ver) : "memory");
mtctl(0, CR_CCR);
ver[0] = HPPA_FPUVER(ver[0]);
- printf("FPU %s rev %d",
+ printf(", FPU %s rev %d",
hppa_mod_info(HPPA_TYPE_FPU, ver[0] >> 5), ver[0] & 0x1f);
}
- /* if (pdc_model.sh)
- printf("shadows, "); */
-
printf("\n%s: ", self->dv_xname);
p = "";
if (!pdc_cache.dc_conf.cc_sh) {