summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2013-01-16 05:49:48 +0000
committerdlg <dlg@openbsd.org>2013-01-16 05:49:48 +0000
commitad2ea678202d45af40b4533847c03924d058e477 (patch)
tree9251412c725a3fb2d6fb84f946e29f8766748110
parentAdd hardware VLAN tag/untag support for VT6105M chips. Help/feedback/ok (diff)
downloadwireguard-openbsd-ad2ea678202d45af40b4533847c03924d058e477.tar.xz
wireguard-openbsd-ad2ea678202d45af40b4533847c03924d058e477.zip
init comconsiot to X86_BUS_SPACE_IO in case someone changes the value of
that thing to be something other than 0, which as a global it gets initted to.
-rw-r--r--sys/arch/amd64/amd64/machdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c
index 2a2c72336cb..f084d95491b 100644
--- a/sys/arch/amd64/amd64/machdep.c
+++ b/sys/arch/amd64/amd64/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.159 2012/12/02 07:03:31 guenther Exp $ */
+/* $OpenBSD: machdep.c,v 1.160 2013/01/16 05:49:48 dlg Exp $ */
/* $NetBSD: machdep.c,v 1.3 2003/05/07 22:58:18 fvdl Exp $ */
/*-
@@ -1827,6 +1827,7 @@ getbootinfo(char *bootinfo, int bootinfo_size)
comconsunit = unit;
comconsaddr = consaddr;
comconsrate = cdp->conspeed;
+ comconsiot = X86_BUS_SPACE_IO;
/* Probe the serial port this time. */
cninit();