Module Name:    src
Committed By:   tsutsui
Date:           Mon Apr 27 14:52:50 UTC 2009

Modified Files:
        src/sys/dev/ic: rtl81x9.c

Log Message:
Wrap one more printf() with #ifdef DEBUG, which was missed on rev 1.52.


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/dev/ic/rtl81x9.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/dev/ic/rtl81x9.c
diff -u src/sys/dev/ic/rtl81x9.c:1.85 src/sys/dev/ic/rtl81x9.c:1.86
--- src/sys/dev/ic/rtl81x9.c:1.85	Sun Apr 26 16:17:08 2009
+++ src/sys/dev/ic/rtl81x9.c	Mon Apr 27 14:52:50 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: rtl81x9.c,v 1.85 2009/04/26 16:17:08 tsutsui Exp $	*/
+/*	$NetBSD: rtl81x9.c,v 1.86 2009/04/27 14:52:50 tsutsui Exp $	*/
 
 /*
  * Copyright (c) 1997, 1998
@@ -86,7 +86,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtl81x9.c,v 1.85 2009/04/26 16:17:08 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtl81x9.c,v 1.86 2009/04/27 14:52:50 tsutsui Exp $");
 
 #include "bpfilter.h"
 #include "rnd.h"
@@ -1155,7 +1155,9 @@
 					    sc->sc_txthresh * 32);
 #endif
 				}
+#ifdef DEBUG
 				printf("\n");
+#endif
 			}
 			if (txstat & (RTK_TXSTAT_TXABRT|RTK_TXSTAT_OUTOFWIN))
 				CSR_WRITE_4(sc, RTK_TXCFG, RTK_TXCFG_CONFIG);

Reply via email to