summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-04-12 10:47:23 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-04-12 10:47:23 +0000
commit93de1ab6042ecbf745ff778bc42998c0ef836f5e (patch)
tree4ad9c044ef178069bb5b62ce589f33d8a2c87307 /sys
parent2faca1adaf2174a8c409dd6970b736f392e60a3d (diff)
Initialize comconsiot in comcninit().
ok deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/isa/pccom.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/i386/isa/pccom.c b/sys/arch/i386/isa/pccom.c
index 27413ee143c..0f4ed063e03 100644
--- a/sys/arch/i386/isa/pccom.c
+++ b/sys/arch/i386/isa/pccom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pccom.c,v 1.63 2008/03/29 15:26:47 krw Exp $ */
+/* $OpenBSD: pccom.c,v 1.64 2008/04/12 10:47:22 kettenis Exp $ */
/* $NetBSD: com.c,v 1.82.4.1 1996/06/02 09:08:00 mrg Exp $ */
/*
@@ -1571,11 +1571,7 @@ com_common_putc(bus_space_tag_t iot, bus_space_handle_t ioh, int c)
void
comcninit(struct consdev *cp)
{
-
-#if 0
- XXX NEEDS TO BE FIXED XXX
- comconsiot = ???;
-#endif
+ comconsiot = I386_BUS_SPACE_IO;
#ifdef CONADDR_OVERRIDE
comconsaddr = CONADDR;