summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2014-10-17 20:34:23 +0000
committerkettenis <kettenis@openbsd.org>2014-10-17 20:34:23 +0000
commita1175e1471e3e553de475cd81e8de7751df43186 (patch)
tree73a41fddeeb2666c9c7bf08c1b94d1fde32cb943
parentInstead of doing strvis() of gecos string on output, do it when (diff)
downloadwireguard-openbsd-a1175e1471e3e553de475cd81e8de7751df43186.tar.xz
wireguard-openbsd-a1175e1471e3e553de475cd81e8de7751df43186.zip
Initialize comconsiot. Fixes problems with the (now backed out) i386
bus_space(9) diff. ok sthen@
-rw-r--r--sys/arch/i386/i386/bios.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/bios.c b/sys/arch/i386/i386/bios.c
index 3baf3fa9791..f9dec0a6415 100644
--- a/sys/arch/i386/i386/bios.c
+++ b/sys/arch/i386/i386/bios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bios.c,v 1.105 2014/09/14 14:17:23 jsg Exp $ */
+/* $OpenBSD: bios.c,v 1.106 2014/10/17 20:34:23 kettenis Exp $ */
/*
* Copyright (c) 1997-2001 Michael Shalayeff
@@ -563,6 +563,7 @@ bios_getopt()
comconsunit = unit;
comconsaddr = consaddr;
comconsrate = cdp->conspeed;
+ comconsiot = I386_BUS_SPACE_IO;
/* Probe the serial port this time. */
cninit();