From f1b03acb95f7dc138739b46475506927d4f5d723 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 10 Jun 2012 21:03:36 +0000 Subject: 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@ --- sys/arch/i386/stand/libsa/bioscons.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'sys/arch/i386/stand/libsa') 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; -- cgit v1.2.3