summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2013-01-16 05:49:49 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2013-01-16 05:49:49 +0000
commit9b76b1376b56f95d1418109213f81c0649acee53 (patch)
tree3640429f7eeb120d86df4c88ee56b357db5a8e94 /sys/arch/amd64
parent9a5e872b0d454e0d992f65202595f81253517c71 (diff)
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.
Diffstat (limited to 'sys/arch/amd64')
-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();