Module Name:    src
Committed By:   mrg
Date:           Fri Nov 27 22:31:29 UTC 2009

Modified Files:
        src/sys/arch/sparc64/dev: pci_machdep.c psycho.c schizo.c

Log Message:
clean up some debug messages a little bit.


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/arch/sparc64/dev/pci_machdep.c
cvs rdiff -u -r1.95 -r1.96 src/sys/arch/sparc64/dev/psycho.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/sparc64/dev/schizo.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/sparc64/dev/pci_machdep.c
diff -u src/sys/arch/sparc64/dev/pci_machdep.c:1.62 src/sys/arch/sparc64/dev/pci_machdep.c:1.63
--- src/sys/arch/sparc64/dev/pci_machdep.c:1.62	Wed Dec 10 12:53:49 2008
+++ src/sys/arch/sparc64/dev/pci_machdep.c	Fri Nov 27 22:31:29 2009
@@ -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);
 }

Index: src/sys/arch/sparc64/dev/psycho.c
diff -u src/sys/arch/sparc64/dev/psycho.c:1.95 src/sys/arch/sparc64/dev/psycho.c:1.96
--- src/sys/arch/sparc64/dev/psycho.c:1.95	Tue Dec 16 22:35:26 2008
+++ src/sys/arch/sparc64/dev/psycho.c	Fri Nov 27 22:31:29 2009
@@ -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));

Index: src/sys/arch/sparc64/dev/schizo.c
diff -u src/sys/arch/sparc64/dev/schizo.c:1.8 src/sys/arch/sparc64/dev/schizo.c:1.9
--- src/sys/arch/sparc64/dev/schizo.c:1.8	Tue Dec 16 22:35:26 2008
+++ src/sys/arch/sparc64/dev/schizo.c	Fri Nov 27 22:31:29 2009
@@ -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));

Reply via email to