summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-05-05 00:32:18 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-05-05 00:32:18 +0000
commit2abb5705934e184a6c5b2fc405e164f574db9dc2 (patch)
tree8dcc4da7af9960facacde33781dab5e6155c5b88
parent05af0de47625b84b4a8329e388c08a47d7e65bbd (diff)
do not engage HPT on PCXT' (yet)
-rw-r--r--sys/arch/hppa/hppa/machdep.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c
index 860968537bd..94ba384533a 100644
--- a/sys/arch/hppa/hppa/machdep.c
+++ b/sys/arch/hppa/hppa/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.127 2004/04/08 17:10:18 mickey Exp $ */
+/* $OpenBSD: machdep.c,v 1.128 2004/05/05 00:32:17 mickey Exp $ */
/*
* Copyright (c) 1999-2003 Michael Shalayeff
@@ -540,6 +540,12 @@ cpuid()
/* we know PCXL and PCXL2 do not exist w/o FPU */
fpu_enable = 0xc0;
+ /*
+ * TODO: HPT on 7200 is not currently supported
+ */
+ if (pmap_hptsize && p->type != hpcxl && p->type != hpcxl2)
+ pmap_hptsize = 0;
+
cpu_type = p->type;
cpu_typename = p->name;
cpu_ibtlb_ins = p->ibtlbins;