summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-05-16 07:32:20 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-05-16 07:32:20 +0000
commitd6ce277235ea6ee2aec5b29278be3bd8986bc02d (patch)
tree89e1b9837786b67ea7e645a9d260e81df38f293e /sys
parent5076f461851ced6373e93a0ea407163d0b883c77 (diff)
shorten device probe messages to 2 lines
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/stand/libsa/bioscons.c12
-rw-r--r--sys/arch/i386/stand/libsa/machdep.c3
2 files changed, 8 insertions, 7 deletions
diff --git a/sys/arch/i386/stand/libsa/bioscons.c b/sys/arch/i386/stand/libsa/bioscons.c
index 83b85799f5c..98b852b1d78 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.14 1998/04/18 07:39:41 deraadt Exp $ */
+/* $OpenBSD: bioscons.c,v 1.15 1998/05/16 07:32:17 deraadt Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -70,7 +70,7 @@ pc_probe(cn)
{
cn->cn_pri = CN_INTERNAL;
cn->cn_dev = makedev(12, 0);
- printf("pc%d detected\n", minor(cn->cn_dev));
+ printf("pc%d ", minor(cn->cn_dev));
#if 0
outb(IO_RTC, NVRAM_EQUIPMENT);
@@ -78,7 +78,7 @@ pc_probe(cn)
cn->cn_pri = CN_INTERNAL;
/* XXX from i386/conf.c */
cn->cn_dev = makedev(12, 0);
- printf("pc%d detected\n", minor(cn->cn_dev));
+ printf("pc%d ", minor(cn->cn_dev));
}
#endif
}
@@ -87,7 +87,7 @@ void
pc_init(cn)
struct consdev *cn;
{
- printf("using pc%d console\n", minor(cn->cn_dev));
+ printf("\nusing pc%d console\n", minor(cn->cn_dev));
}
int
@@ -129,7 +129,7 @@ com_probe(cn)
n >>= 9;
n &= 7;
for (i = 0; i < n; i++)
- printf("com%d detected\n", i);
+ printf("com%d ", i);
if (n) {
cn->cn_pri = CN_NORMAL;
/* XXX from i386/conf.c */
@@ -213,7 +213,7 @@ comspeed(dev, sp)
outb(comports[minor(dev)] + com_dlbl, newsp);
outb(comports[minor(dev)] + com_dlbh, newsp>>8);
outb(comports[minor(dev)] + com_cfcr, LCR_8BITS);
- printf("com%d: console is at %d baud\n", minor(dev), sp);
+ printf("\ncom%d: console is at %d baud\n", minor(dev), sp);
newsp = com_speed;
com_speed = sp;
diff --git a/sys/arch/i386/stand/libsa/machdep.c b/sys/arch/i386/stand/libsa/machdep.c
index 50f37b13a12..446d7749d38 100644
--- a/sys/arch/i386/stand/libsa/machdep.c
+++ b/sys/arch/i386/stand/libsa/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.25 1998/04/18 07:39:53 deraadt Exp $ */
+/* $OpenBSD: machdep.c,v 1.26 1998/05/16 07:32:19 deraadt Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -54,6 +54,7 @@ machdep()
gateA20(1); CKPT('1');
debug_init(); CKPT('2');
/* call console init before doing any io */
+ printf("devices: ");
cninit(); CKPT('3');
#ifndef _TEST
memprobe(); CKPT('4');