summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-12-29 09:10:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-12-29 09:10:31 +0000
commita33b6ff49b67a46209bf631c054a6d5ec778e295 (patch)
treefb3777931c4e092e1902d227de7f6ebbd670ea9e /sys
parent138324b0462d8d42dc2d6456ca79798fc604b524 (diff)
work around some ugly glitches
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/isa/ad1848.c5
-rw-r--r--sys/dev/isa/ym.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/isa/ad1848.c b/sys/dev/isa/ad1848.c
index 54ac02fea54..643498d3c4c 100644
--- a/sys/dev/isa/ad1848.c
+++ b/sys/dev/isa/ad1848.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ad1848.c,v 1.13 1998/07/16 22:37:44 deraadt Exp $ */
+/* $OpenBSD: ad1848.c,v 1.14 1998/12/29 09:10:29 deraadt Exp $ */
/* $NetBSD: ad1848.c,v 1.45 1998/01/30 02:02:38 augustss Exp $ */
/*
@@ -583,7 +583,8 @@ ad1848_attach(sc)
/* Set default port */
(void) ad1848_set_rec_port(sc, MIC_IN_PORT);
- printf(": %s", sc->chip_name);
+ if (sc->chip_name)
+ printf(": %s", sc->chip_name);
#undef WAITREADY
}
diff --git a/sys/dev/isa/ym.c b/sys/dev/isa/ym.c
index 0c527479112..a4eb9551466 100644
--- a/sys/dev/isa/ym.c
+++ b/sys/dev/isa/ym.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ym.c,v 1.2 1998/11/03 21:15:02 downsj Exp $ */
+/* $OpenBSD: ym.c,v 1.3 1998/12/29 09:10:30 deraadt Exp $ */
/*
@@ -121,6 +121,7 @@ ym_attach(sc)
ad1848_intr, &sc->sc_ad1848, sc->sc_dev.dv_xname);
ad1848_attach(&sc->sc_ad1848);
+ printf("\n");
sc->sc_ad1848.parent = sc;
/* Establish chip in well known mode */