diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-03-06 20:24:04 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-03-06 20:24:04 +0000 |
commit | 5729f6d95b5ddde3648714748ea8a609c4f64635 (patch) | |
tree | c1f127c6f73fb07a53ab344459b13103a1acd36b /sys/arch/hppa | |
parent | abbaf743f011d626a7552572138bc201b945bee5 (diff) |
no need to mask
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/dev/cpu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/hppa/dev/cpu.c b/sys/arch/hppa/dev/cpu.c index 833967845e0..34de02dd1e7 100644 --- a/sys/arch/hppa/dev/cpu.c +++ b/sys/arch/hppa/dev/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.11 2002/03/06 20:20:42 mickey Exp $ */ +/* $OpenBSD: cpu.c,v 1.12 2002/03/06 20:24:03 mickey Exp $ */ /* * Copyright (c) 1998-2002 Michael Shalayeff @@ -146,11 +146,11 @@ cpuattach(parent, self, aux) :: "r" (&ver) : "memory"); mtctl(0, CR_CCR); ver = HPPA_FPUVER(ver); - name = hppa_mod_info(HPPA_TYPE_FPU, (ver >> 5) & 0x1f); + name = hppa_mod_info(HPPA_TYPE_FPU, ver >> 5); if (name) - printf("FPU %s rev %d", name, ver & 0x1f); + printf("FPU %s rev %d", name, ver); else - printf("FPU v%d.%02d", (ver >> 5) & 0x1f, ver & 0x1f); + printf("FPU v%d.%02d", ver >> 5, ver & 0x1f); } /* if (pdc_model.sh) |