Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/isa save a line of dmesg



details:   https://anonhg.NetBSD.org/src/rev/7b4d66c4114c
branches:  trunk
changeset: 760904:7b4d66c4114c
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Jan 16 14:16:03 2011 +0000

description:
save a line of dmesg

diffstat:

 sys/dev/isa/aps.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 04e466ff34c9 -r 7b4d66c4114c sys/dev/isa/aps.c
--- a/sys/dev/isa/aps.c Sun Jan 16 12:07:26 2011 +0000
+++ b/sys/dev/isa/aps.c Sun Jan 16 14:16:03 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aps.c,v 1.11 2011/01/16 01:05:45 jmcneill Exp $        */
+/*     $NetBSD: aps.c,v 1.12 2011/01/16 14:16:03 jmcneill Exp $        */
 /*     $OpenBSD: aps.c,v 1.15 2007/05/19 19:14:11 tedu Exp $   */
 /*     $OpenBSD: aps.c,v 1.17 2008/06/27 06:08:43 canacar Exp $        */
 /*
@@ -24,7 +24,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aps.c,v 1.11 2011/01/16 01:05:45 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aps.c,v 1.12 2011/01/16 14:16:03 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -313,7 +313,7 @@
        sc->sc_bus_space_valid = true;
 
        aprint_naive("\n");
-       aprint_normal("\n");
+       aprint_normal(": Thinkpad Active Protection System\n");
 
        if (aps_init(sc)) {
                aprint_error_dev(self, "failed to initialize\n");
@@ -364,7 +364,6 @@
        /* Refresh sensor data every 0.5 seconds */
        callout_schedule(&sc->sc_callout, (hz) / 2);
 
-        aprint_normal_dev(self, "Thinkpad Active Protection System\n");
        return;
 
 out:



Home | Main Index | Thread Index | Old Index