summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-05-17 12:13:45 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-05-17 12:13:45 +0000
commitad9417b6e9ca3289c321f4dccbd62eebefa5c1e9 (patch)
tree5acc6bb09f1e47308f7cc7aa679dbb8e07162bed /sys/arch/vax
parent18d46f01cb96ee8ea6c2a84784b3f290f613b5d6 (diff)
Lower VUPS value for delay() to behave closer to the intent.
This is temporary until vax grows code to compute a proper delay const at runtime, but will help a bit, especially on KA46 where cd(4) end up detected as sd(4) due to too short delays.
Diffstat (limited to 'sys/arch/vax')
-rw-r--r--sys/arch/vax/vax/ka46.c4
-rw-r--r--sys/arch/vax/vax/ka48.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/vax/vax/ka46.c b/sys/arch/vax/vax/ka46.c
index b7684c92f06..3b17ed2eead 100644
--- a/sys/arch/vax/vax/ka46.c
+++ b/sys/arch/vax/vax/ka46.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ka46.c,v 1.11 2011/09/19 21:53:02 miod Exp $ */
+/* $OpenBSD: ka46.c,v 1.12 2014/05/17 12:13:44 miod Exp $ */
/* $NetBSD: ka46.c,v 1.12 2000/03/04 07:27:49 matt Exp $ */
/*
* Copyright (c) 1998 Ludd, University of Lule}, Sweden.
@@ -74,7 +74,7 @@ struct cpu_dep ka46_calls = {
ka46_conf,
chip_clkread,
chip_clkwrite,
- 12, /* ~VUPS */
+ 8, /* ~VUPS */
2, /* SCB pages */
ka46_halt,
ka46_reboot,
diff --git a/sys/arch/vax/vax/ka48.c b/sys/arch/vax/vax/ka48.c
index 9085cab19a6..194363e960f 100644
--- a/sys/arch/vax/vax/ka48.c
+++ b/sys/arch/vax/vax/ka48.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ka48.c,v 1.14 2011/09/19 21:53:02 miod Exp $ */
+/* $OpenBSD: ka48.c,v 1.15 2014/05/17 12:13:44 miod Exp $ */
/*
* Copyright (c) 1998 Ludd, University of Lule}, Sweden.
* All rights reserved.
@@ -75,7 +75,7 @@ struct cpu_dep ka48_calls = {
ka48_conf,
chip_clkread,
chip_clkwrite,
- 6, /* ~VUPS */
+ 4, /* ~VUPS */
2, /* SCB pages */
ka48_halt,
ka48_reboot,