Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/dev clean up some debug messages a little bit.



details:   https://anonhg.NetBSD.org/src/rev/85434de04a4d
branches:  trunk
changeset: 749368:85434de04a4d
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Nov 27 22:31:29 2009 +0000

description:
clean up some debug messages a little bit.

diffstat:

 sys/arch/sparc64/dev/pci_machdep.c |  7 +++----
 sys/arch/sparc64/dev/psycho.c      |  6 +++---
 sys/arch/sparc64/dev/schizo.c      |  4 ++--
 3 files changed, 8 insertions(+), 9 deletions(-)

diffs (74 lines):

diff -r 61433030c041 -r 85434de04a4d sys/arch/sparc64/dev/pci_machdep.c
--- a/sys/arch/sparc64/dev/pci_machdep.c        Fri Nov 27 20:56:28 2009 +0000
+++ b/sys/arch/sparc64/dev/pci_machdep.c        Fri Nov 27 22:31:29 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_machdep.c,v 1.62 2008/12/10 12:53:49 nakayama Exp $        */
+/*     $NetBSD: pci_machdep.c,v 1.63 2009/11/27 22:31:29 mrg Exp $     */
 
 /*
  * Copyright (c) 1999, 2000 Matthew R. Green
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.62 2008/12/10 12:53:49 nakayama Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.63 2009/11/27 22:31:29 mrg Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -421,9 +421,8 @@
 {
        static char str[16];
 
-       DPRINTF(SPDB_INTR, ("pci_intr_string: ih %u", ih));
        sprintf(str, "ivec %x", ih);
-       DPRINTF(SPDB_INTR, ("; returning %s\n", str));
+       DPRINTF(SPDB_INTR, ("pci_intr_string: returning %s\n", str));
 
        return (str);
 }
diff -r 61433030c041 -r 85434de04a4d sys/arch/sparc64/dev/psycho.c
--- a/sys/arch/sparc64/dev/psycho.c     Fri Nov 27 20:56:28 2009 +0000
+++ b/sys/arch/sparc64/dev/psycho.c     Fri Nov 27 22:31:29 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: psycho.c,v 1.95 2008/12/16 22:35:26 christos Exp $     */
+/*     $NetBSD: psycho.c,v 1.96 2009/11/27 22:31:29 mrg Exp $  */
 
 /*
  * Copyright (c) 1999, 2000 Matthew R. Green
@@ -55,7 +55,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: psycho.c,v 1.95 2008/12/16 22:35:26 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: psycho.c,v 1.96 2009/11/27 22:31:29 mrg Exp $");
 
 #include "opt_ddb.h"
 
@@ -1396,7 +1396,7 @@
        void *cookie;
        struct psycho_pbm *pp = (struct psycho_pbm *)pc->cookie;
 
-       DPRINTF(PDB_INTR, ("pci_intr_establish: ih %lu; level %d", (u_long)ih, level));
+       DPRINTF(PDB_INTR, ("%s: ih %lx; level %d", __func__, (u_long)ih, level));
        cookie = bus_intr_establish(pp->pp_memt, ih, level, func, arg);
 
        DPRINTF(PDB_INTR, ("; returning handle %p\n", cookie));
diff -r 61433030c041 -r 85434de04a4d sys/arch/sparc64/dev/schizo.c
--- a/sys/arch/sparc64/dev/schizo.c     Fri Nov 27 20:56:28 2009 +0000
+++ b/sys/arch/sparc64/dev/schizo.c     Fri Nov 27 22:31:29 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: schizo.c,v 1.8 2008/12/16 22:35:26 christos Exp $      */
+/*     $NetBSD: schizo.c,v 1.9 2009/11/27 22:31:29 mrg Exp $   */
 /*     $OpenBSD: schizo.c,v 1.55 2008/08/18 20:29:37 brad Exp $        */
 
 /*
@@ -776,7 +776,7 @@
        void *cookie;
        struct schizo_pbm *pbm = (struct schizo_pbm *)pc->cookie;
 
-       DPRINTF(SDB_INTR, ("pci_intr_establish: ih %lu; level %d", (u_long)ih, level));
+       DPRINTF(SDB_INTR, ("%s: ih %lx; level %d", __func__, (u_long)ih, level));
        cookie = bus_intr_establish(pbm->sp_memt, ih, level, func, arg);
 
        DPRINTF(SDB_INTR, ("; returning handle %p\n", cookie));



Home | Main Index | Thread Index | Old Index