Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Insert some missing aprint_naive().



details:   https://anonhg.NetBSD.org/src/rev/43832ca37942
branches:  trunk
changeset: 772993:43832ca37942
user:      phx <phx%NetBSD.org@localhost>
date:      Mon Jan 23 16:22:57 2012 +0000

description:
Insert some missing aprint_naive().

diffstat:

 sys/arch/powerpc/oea/cpu_subr.c       |  7 +++++--
 sys/arch/powerpc/pci/pchb.c           |  5 +++--
 sys/arch/sandpoint/sandpoint/satmgr.c |  3 ++-
 3 files changed, 10 insertions(+), 5 deletions(-)

diffs (85 lines):

diff -r ff0a135e3c4a -r 43832ca37942 sys/arch/powerpc/oea/cpu_subr.c
--- a/sys/arch/powerpc/oea/cpu_subr.c   Mon Jan 23 15:16:37 2012 +0000
+++ b/sys/arch/powerpc/oea/cpu_subr.c   Mon Jan 23 16:22:57 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu_subr.c,v 1.70 2011/06/29 06:00:17 matt Exp $       */
+/*     $NetBSD: cpu_subr.c,v 1.71 2012/01/23 16:22:57 phx Exp $        */
 
 /*-
  * Copyright (c) 2001 Matt Thomas.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu_subr.c,v 1.70 2011/06/29 06:00:17 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu_subr.c,v 1.71 2012/01/23 16:22:57 phx Exp $");
 
 #include "opt_ppcparam.h"
 #include "opt_multiprocessor.h"
@@ -404,6 +404,7 @@
         * and just bail out.
         */
        if (id != 0) {
+               aprint_naive("\n");
                aprint_normal(": ID %d\n", id);
                aprint_normal_dev(self,
                    "processor off-line; "
@@ -440,6 +441,7 @@
                cpu_setup(self, ci);
                break;
        default:
+               aprint_naive("\n");
                if (id >= CPU_MAXNUM) {
                        aprint_normal(": more than %d cpus?\n", CPU_MAXNUM);
                        panic("cpuattach");
@@ -468,6 +470,7 @@
        vers = (pvr >> 16) & 0xffff;
 
        cpu_identify(model, sizeof(model));
+       aprint_naive("\n");
        aprint_normal(": %s, ID %d%s\n", model,  cpu_number(),
            cpu_number() == 0 ? " (primary)" : "");
 
diff -r ff0a135e3c4a -r 43832ca37942 sys/arch/powerpc/pci/pchb.c
--- a/sys/arch/powerpc/pci/pchb.c       Mon Jan 23 15:16:37 2012 +0000
+++ b/sys/arch/powerpc/pci/pchb.c       Mon Jan 23 16:22:57 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pchb.c,v 1.8 2011/07/01 18:59:19 dyoung Exp $  */
+/*     $NetBSD: pchb.c,v 1.9 2012/01/23 16:22:57 phx Exp $     */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pchb.c,v 1.8 2011/07/01 18:59:19 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pchb.c,v 1.9 2012/01/23 16:22:57 phx Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -241,6 +241,7 @@
        volatile unsigned char *python;
        uint32_t v;
        
+       aprint_naive("\n");
        aprint_normal("\n");
 
        /*
diff -r ff0a135e3c4a -r 43832ca37942 sys/arch/sandpoint/sandpoint/satmgr.c
--- a/sys/arch/sandpoint/sandpoint/satmgr.c     Mon Jan 23 15:16:37 2012 +0000
+++ b/sys/arch/sandpoint/sandpoint/satmgr.c     Mon Jan 23 16:22:57 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: satmgr.c,v 1.14 2011/12/29 10:27:36 phx Exp $ */
+/* $NetBSD: satmgr.c,v 1.15 2012/01/23 16:22:58 phx Exp $ */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -205,6 +205,7 @@
        }
        if (ops == NULL)
                goto notavail;
+       aprint_naive(": button manager\n");
        aprint_normal(": button manager (%s)\n", ops->family);
        sc->sc_ops = ops;
 



Home | Main Index | Thread Index | Old Index