Source-Changes-HG archive

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

[src/trunk]: src/sys/dev Add some missing aprint_naive calls.



details:   https://anonhg.NetBSD.org/src/rev/4e05bfbe527f
branches:  trunk
changeset: 753341:4e05bfbe527f
user:      njoly <njoly%NetBSD.org@localhost>
date:      Tue Mar 23 12:13:28 2010 +0000

description:
Add some missing aprint_naive calls.

diffstat:

 sys/dev/i2c/spdmem.c |  5 +++--
 sys/dev/ic/nslm7x.c  |  7 +++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diffs (68 lines):

diff -r c92baf2c56d7 -r 4e05bfbe527f sys/dev/i2c/spdmem.c
--- a/sys/dev/i2c/spdmem.c      Tue Mar 23 10:19:35 2010 +0000
+++ b/sys/dev/i2c/spdmem.c      Tue Mar 23 12:13:28 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: spdmem.c,v 1.17 2010/02/28 11:36:27 martin Exp $ */
+/* $NetBSD: spdmem.c,v 1.18 2010/03/23 12:13:28 njoly Exp $ */
 
 /*
  * Copyright (c) 2007 Nicolas Joly
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spdmem.c,v 1.17 2010/02/28 11:36:27 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spdmem.c,v 1.18 2010/03/23 12:13:28 njoly Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -370,6 +370,7 @@
                }
        }
 
+       aprint_naive("\n");
        aprint_normal("\n");
        aprint_normal_dev(self, "%s", type);
        strlcpy(sc->sc_type, type, SPDMEM_TYPE_MAXLEN);
diff -r c92baf2c56d7 -r 4e05bfbe527f sys/dev/ic/nslm7x.c
--- a/sys/dev/ic/nslm7x.c       Tue Mar 23 10:19:35 2010 +0000
+++ b/sys/dev/ic/nslm7x.c       Tue Mar 23 12:13:28 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nslm7x.c,v 1.54 2010/02/13 04:09:36 jakllsch Exp $ */
+/*     $NetBSD: nslm7x.c,v 1.55 2010/03/23 12:13:28 njoly Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nslm7x.c,v 1.54 2010/02/13 04:09:36 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nslm7x.c,v 1.55 2010/03/23 12:13:28 njoly Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1740,6 +1740,7 @@
                return 0;
        }
 
+       aprint_naive("\n");
        aprint_normal("\n");
        aprint_normal_dev(sc->sc_dev,
            "National Semiconductor %s Hardware monitor\n", model);
@@ -1755,6 +1756,7 @@
        int chipid;
 
        chipid = (*sc->lm_readreg)(sc, LMD_CHIPID) & LM_ID_MASK;
+       aprint_naive("\n");
        aprint_normal("\n");
        aprint_error_dev(sc->sc_dev, "Unknown chip (ID %d)\n", chipid);
 
@@ -1817,6 +1819,7 @@
        const char *model = NULL;
        int banksel, vendid, devid, cf_flags;
 
+       aprint_naive("\n");
        aprint_normal("\n");
        /* Read vendor ID */
        banksel = (*sc->lm_readreg)(sc, WB_BANKSEL);



Home | Main Index | Thread Index | Old Index