Source-Changes-HG archive

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

[src/trunk]: src/sys PR/48701: Timo Buhrmester: spurious messages while booti...



details:   https://anonhg.NetBSD.org/src/rev/12a461606b22
branches:  trunk
changeset: 795228:12a461606b22
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Apr 04 14:47:26 2014 +0000

description:
PR/48701: Timo Buhrmester: spurious messages while booting silently (gpio,
glxsb); use aprint_normal()
>Category:       kern
>Synopsis:       spurious messages while booting silently (gpio, glxsb)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net

diffstat:

 sys/arch/i386/pci/glxsb.c |  10 +++++-----
 sys/dev/gpio/gpio.c       |   8 ++++----
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (70 lines):

diff -r 6d5bcdc43e5f -r 12a461606b22 sys/arch/i386/pci/glxsb.c
--- a/sys/arch/i386/pci/glxsb.c Fri Apr 04 14:18:19 2014 +0000
+++ b/sys/arch/i386/pci/glxsb.c Fri Apr 04 14:47:26 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: glxsb.c,v 1.10 2011/11/19 22:51:20 tls Exp $   */
+/*     $NetBSD: glxsb.c,v 1.11 2014/04/04 14:47:26 christos Exp $      */
 /* $OpenBSD: glxsb.c,v 1.7 2007/02/12 14:31:45 tom Exp $ */
 
 /*
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: glxsb.c,v 1.10 2011/11/19 22:51:20 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: glxsb.c,v 1.11 2014/04/04 14:47:26 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -253,7 +253,7 @@
        callout_init(&sc->sc_co, 0);
        callout_setfunc(&sc->sc_co, glxsb_rnd, sc);
        glxsb_rnd(sc);
-       printf(": RNG");
+       aprint_normal(": RNG");
 
        /* We don't have an interrupt handler, so disable completion INTs */
        intr = SB_AI_DISABLE_AES_A | SB_AI_DISABLE_AES_B |
@@ -264,9 +264,9 @@
        sc->sc_dmat = pa->pa_dmat;
 
        if (glxsb_crypto_setup(sc))
-               printf(" AES");
+               aprint_normal(" AES");
 
-       printf("\n");
+       aprint_normal("\n");
 }
 
 void
diff -r 6d5bcdc43e5f -r 12a461606b22 sys/dev/gpio/gpio.c
--- a/sys/dev/gpio/gpio.c       Fri Apr 04 14:18:19 2014 +0000
+++ b/sys/dev/gpio/gpio.c       Fri Apr 04 14:47:26 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gpio.c,v 1.53 2014/03/16 05:20:27 dholland Exp $ */
+/* $NetBSD: gpio.c,v 1.54 2014/04/04 14:47:26 christos Exp $ */
 /*     $OpenBSD: gpio.c,v 1.6 2006/01/14 12:33:49 grange Exp $ */
 
 /*
@@ -19,7 +19,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gpio.c,v 1.53 2014/03/16 05:20:27 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gpio.c,v 1.54 2014/04/04 14:47:26 christos Exp $");
 
 /*
  * General Purpose Input/Output framework.
@@ -276,10 +276,10 @@
        struct gpio_attach_args *ga = aux;
        int i;
 
-       printf(" pins");
+       aprint_normal(" pins");
        for (i = 0; i < 32; i++)
                if (ga->ga_mask & (1 << i))
-                       printf(" %d", ga->ga_offset + i);
+                       aprint_normal(" %d", ga->ga_offset + i);
 
        return UNCONF;
 }



Home | Main Index | Thread Index | Old Index