PERFORCE change 168542 for review

Peter Wemm peter at FreeBSD.org
Mon Sep 14 18:21:29 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=168542

Change 168542 by peter at peter_overcee on 2009/09/14 18:20:40

	Make debug compile

Affected files ...

.. //depot/projects/hammer/sys/dev/si/si.c#31 edit

Differences ...

==== //depot/projects/hammer/sys/dev/si/si.c#31 (text+ko) ====

@@ -1549,7 +1549,7 @@
 			/* This is very very bad.  The card has crashed. */
 			/* XXX the driver breaks at this point */
 			if (err == ETIMEDOUT)
-				DPRINT(("%s: tsleep1 timeout. hi_stat %s, sp_pend %s\n", pp->sp_name, si_cmdname(ccbp->hi_stat), si_cmdname(pp->sp_pend)));
+				DPRINT((pp, DBG_PARAM, "%s: tsleep1 timeout. hi_stat %s, sp_pend %s\n", pp->sp_name, si_cmdname(ccbp->hi_stat), si_cmdname(pp->sp_pend)));
 			splx(oldspl);
 			return;
 		}
@@ -1586,7 +1586,7 @@
 			if (err) {
 				DPRINT((pp, DBG_PARAM, "sicmd2 tsleep error: hi_stat (%s) sp_pend (%s)\n", si_cmdname(ccbp->hi_stat), si_cmdname(pp->sp_pend)));
 				if (err == ETIMEDOUT) {
-					DPRINT(("%s: tsleep2 timeout. hi_stat %s, sp_pend %s\n", pp->sp_name, si_cmdname(ccbp->hi_stat), si_cmdname(pp->sp_pend)));
+					DPRINT((pp, DBG_PARAM, "%s: tsleep2 timeout. hi_stat %s, sp_pend %s\n", pp->sp_name, si_cmdname(ccbp->hi_stat), si_cmdname(pp->sp_pend)));
 				}
 				break;
 			}


More information about the p4-projects mailing list