summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-07-20 19:07:15 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-07-20 19:07:15 +0000
commit3ba53e18057062e34e6f44ca7137f50d522bbd3e (patch)
tree3c01d9b635cb73bf3e8aac4d592bba7b59e47b28 /sys/arch
parenteb9bfe344e7513432c254ca47eaede4040e41b75 (diff)
Oops, correctly initialize vax_confdata for VS4k/90.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/vax/vax/findcpu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/vax/vax/findcpu.c b/sys/arch/vax/vax/findcpu.c
index abaa0e398f9..d388faae50a 100644
--- a/sys/arch/vax/vax/findcpu.c
+++ b/sys/arch/vax/vax/findcpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: findcpu.c,v 1.10 2003/08/15 23:16:11 deraadt Exp $ */
+/* $OpenBSD: findcpu.c,v 1.11 2006/07/20 19:07:14 miod Exp $ */
/* $NetBSD: findcpu.c,v 1.5 1999/08/23 19:10:43 ragge Exp $ */
/*
* Copyright (c) 1994, 1998 Ludd, University of Lule}, Sweden.
@@ -93,7 +93,10 @@ findcpu(void)
case VAX_BTYP_48:
case VAX_BTYP_IS1:
vax_confdata = *(int *)(0x20020000);
+ vax_bustype = VAX_VSBUS;
+ break;
case VAX_BTYP_49:
+ vax_confdata = *(int *)(0x25800000);
vax_bustype = VAX_VSBUS;
break;