Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev print more info during autoconfig



details:   https://anonhg.NetBSD.org/src/rev/d99fb71f33b3
branches:  trunk
changeset: 349567:d99fb71f33b3
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Dec 14 22:30:42 2016 +0000

description:
print more info during autoconfig

diffstat:

 sys/dev/isa/spkr_pcppi.c |  6 +++---
 sys/dev/spkr_synth.c     |  7 ++++---
 2 files changed, 7 insertions(+), 6 deletions(-)

diffs (55 lines):

diff -r c0cefd113133 -r d99fb71f33b3 sys/dev/isa/spkr_pcppi.c
--- a/sys/dev/isa/spkr_pcppi.c  Wed Dec 14 22:21:13 2016 +0000
+++ b/sys/dev/isa/spkr_pcppi.c  Wed Dec 14 22:30:42 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: spkr_pcppi.c,v 1.6 2016/12/14 21:52:43 christos Exp $  */
+/*     $NetBSD: spkr_pcppi.c,v 1.7 2016/12/14 22:30:42 christos Exp $  */
 
 /*
  * Copyright (c) 1990 Eric S. Raymond (esr%snark.thyrsus.com@localhost)
@@ -43,7 +43,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spkr_pcppi.c,v 1.6 2016/12/14 21:52:43 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spkr_pcppi.c,v 1.7 2016/12/14 22:30:42 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -126,7 +126,7 @@
        struct spkr_pcppi_softc *sc = device_private(self);
 
        aprint_naive("\n");
-       aprint_normal("\n");
+       aprint_normal(": PC Speaker\n");
 
        sc->sc_pcppicookie = pa->pa_cookie;
        spkr_attach(self, spkr_pcppi_tone, spkr_pcppi_rest);
diff -r c0cefd113133 -r d99fb71f33b3 sys/dev/spkr_synth.c
--- a/sys/dev/spkr_synth.c      Wed Dec 14 22:21:13 2016 +0000
+++ b/sys/dev/spkr_synth.c      Wed Dec 14 22:30:42 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: spkr_synth.c,v 1.8 2016/12/13 20:50:13 christos Exp $  */
+/*     $NetBSD: spkr_synth.c,v 1.9 2016/12/14 22:30:42 christos Exp $  */
 
 /*-
  * Copyright (c) 2016 Nathanial Sloss <nathanialsloss%yahoo.com.au@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spkr_synth.c,v 1.8 2016/12/13 20:50:13 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spkr_synth.c,v 1.9 2016/12/14 22:30:42 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -137,7 +137,8 @@
 {
        struct spkr_synth_softc *sc = device_private(self);
 
-       aprint_normal("\n");
+       aprint_naive("\n");
+       aprint_normal(": PC Speaker (synthesized)\n");
 
        sc->sc_audiodev = parent;
        



Home | Main Index | Thread Index | Old Index