summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/libsa
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2012-06-10 21:03:36 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2012-06-10 21:03:36 +0000
commitf1b03acb95f7dc138739b46475506927d4f5d723 (patch)
tree1208f34687eab18171bc805ca29a26f8ddb5d143 /sys/arch/i386/stand/libsa
parentdce083f559850bf5d4e014c10e331132b4eb5f00 (diff)
Always allow serial console, even if the BIOS doesn't report the presence of
any serial ports. Otherwise the new code to use puc(4) ports as serial console isn't all that useful. ok sthen@, miod@
Diffstat (limited to 'sys/arch/i386/stand/libsa')
-rw-r--r--sys/arch/i386/stand/libsa/bioscons.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/arch/i386/stand/libsa/bioscons.c b/sys/arch/i386/stand/libsa/bioscons.c
index a4ff3b2b0dd..b785cf7d4e8 100644
--- a/sys/arch/i386/stand/libsa/bioscons.c
+++ b/sys/arch/i386/stand/libsa/bioscons.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bioscons.c,v 1.32 2012/06/03 13:17:47 kettenis Exp $ */
+/* $OpenBSD: bioscons.c,v 1.33 2012/06/10 21:03:35 kettenis Exp $ */
/*
* Copyright (c) 1997-1999 Michael Shalayeff
@@ -126,11 +126,10 @@ com_probe(struct consdev *cn)
n &= 7;
for (i = 0; i < n; i++)
printf(" com%d", i);
- if (n) {
- cn->cn_pri = CN_LOWPRI;
- /* XXX from i386/conf.c */
- cn->cn_dev = makedev(8, 0);
- }
+
+ cn->cn_pri = CN_LOWPRI;
+ /* XXX from i386/conf.c */
+ cn->cn_dev = makedev(8, 0);
}
int com_speed = -1;