summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/amd64/stand/libsa/bioscons.c11
-rw-r--r--sys/arch/i386/stand/libsa/bioscons.c11
2 files changed, 10 insertions, 12 deletions
diff --git a/sys/arch/amd64/stand/libsa/bioscons.c b/sys/arch/amd64/stand/libsa/bioscons.c
index 481289ef468..5913b5f2eb8 100644
--- a/sys/arch/amd64/stand/libsa/bioscons.c
+++ b/sys/arch/amd64/stand/libsa/bioscons.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bioscons.c,v 1.6 2012/06/03 13:18:33 kettenis Exp $ */
+/* $OpenBSD: bioscons.c,v 1.7 2012/06/10 21:02:42 kettenis Exp $ */
/*
* Copyright (c) 1997-1999 Michael Shalayeff
@@ -124,11 +124,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; /* default speed is 9600 baud */
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;