From d907689e299e9460d483262e86879d637e12a360 Mon Sep 17 00:00:00 2001 From: miod Date: Sat, 17 May 2014 12:13:44 +0000 Subject: [PATCH] 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. --- sys/arch/vax/vax/ka46.c | 4 ++-- sys/arch/vax/vax/ka48.c | 4 ++-- 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, -- 2.20.1