summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-09-25 22:20:45 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-09-25 22:20:45 +0000
commita6737ba5753c53f28fb9485e45d00ec951b6f738 (patch)
tree3a88604e322e3efd4c4f6e65145d48c820c3c318 /sys/arch
parentc672e6337e75f6845433174a1091ab88cfa04fbb (diff)
some pcxl2 do not report fpus -- assume it's there
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hppa/hppa/machdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c
index 16476e2d5ea..2f62215ba8b 100644
--- a/sys/arch/hppa/hppa/machdep.c
+++ b/sys/arch/hppa/hppa/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.113 2003/09/04 07:02:37 mickey Exp $ */
+/* $OpenBSD: machdep.c,v 1.114 2003/09/25 22:20:44 mickey Exp $ */
/*
* Copyright (c) 1999-2002 Michael Shalayeff
@@ -527,8 +527,8 @@ cpuid()
printf("WARNING: UNKNOWN CPU TYPE; GOOD LUCK "
"(type 0x%x, features 0x%x)\n", cpu_type, cpu_features);
p = cpu_types;
- } else if (p->type == hpcxl && !fpu_enable)
- /* we know PCXL does not exist w/o FPU */
+ } else if ((p->type == hpcxl || p->type == hpcxl2) && !fpu_enable)
+ /* we know PCXL and PCXL2 do not exist w/o FPU */
fpu_enable = 0xc0;
cpu_type = p->type;