summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/hppa/machdep.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c
index 178d1d7ddcb..503840d524b 100644
--- a/sys/arch/hppa/hppa/machdep.c
+++ b/sys/arch/hppa/hppa/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.94 2003/01/09 22:27:09 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.95 2003/01/13 19:53:34 mickey Exp $ */
/*
* Copyright (c) 1999-2002 Michael Shalayeff
@@ -406,12 +406,13 @@ hppa_init(start)
avail_end = ctob(totalphysmem);
#if defined(HP7100LC_CPU) || defined(HP7300LC_CPU)
- if (pdc_call((iodcio_t)pdc, 0, PDC_TLB, PDC_TLB_INFO, &pdc_hwtlb) &&
- !pdc_hwtlb.min_size && !pdc_hwtlb.max_size) {
+ if (!pdc_call((iodcio_t)pdc, 0, PDC_TLB, PDC_TLB_INFO, &pdc_hwtlb) &&
+ pdc_hwtlb.min_size && pdc_hwtlb.max_size)
+ cpu_features |= HPPA_FTRS_HVT;
+ else {
printf("WARNING: no HPT support, fine!\n");
pmap_hptsize = 0;
- } else
- cpu_features |= HPPA_FTRS_HVT;
+ }
#endif
/*