summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAnil Madhavapeddy <avsm@cvs.openbsd.org>2005-08-27 09:13:51 +0000
committerAnil Madhavapeddy <avsm@cvs.openbsd.org>2005-08-27 09:13:51 +0000
commitf2a9aa7f507365e6a83ceb60d5ef535c1b0874ff (patch)
tree22f72c6ba67214ab207d6d0262eb1104d2273b6d /sys/dev
parent5be1284ad4dfcc91b69d77be0a1fd7155a6591e3 (diff)
move some debug messages to use the debug macros so they dont appear
during normal operation. deraadt@ ok
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/atw.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/ic/atw.c b/sys/dev/ic/atw.c
index a06c15e25e6..0f8e245648a 100644
--- a/sys/dev/ic/atw.c
+++ b/sys/dev/ic/atw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atw.c,v 1.34 2005/07/18 02:43:26 fgsch Exp $ */
+/* $OpenBSD: atw.c,v 1.35 2005/08/27 09:13:50 avsm Exp $ */
/* $NetBSD: atw.c,v 1.69 2004/07/23 07:07:55 dyoung Exp $ */
/*-
@@ -3030,11 +3030,11 @@ atw_idle(struct atw_softc *sc, u_int32_t bits)
if ((bits & ATW_NAR_ST) != 0 && (stsr & ATW_INTR_TPS) == 0 &&
(test0 & ATW_TEST0_TS_MASK) != ATW_TEST0_TS_STOPPED) {
- printf("%s: transmit process not idle [%s]\n",
+ DPRINTF2(sc, ("%s: transmit process not idle [%s]\n",
sc->sc_dev.dv_xname,
- atw_tx_state[MASK_AND_RSHIFT(test0, ATW_TEST0_TS_MASK)]);
- printf("%s: bits %08x test0 %08x stsr %08x\n",
- sc->sc_dev.dv_xname, bits, test0, stsr);
+ atw_tx_state[MASK_AND_RSHIFT(test0, ATW_TEST0_TS_MASK)]));
+ DPRINTF2(sc, ("%s: bits %08x test0 %08x stsr %08x\n",
+ sc->sc_dev.dv_xname, bits, test0, stsr));
}
if ((bits & ATW_NAR_SR) != 0 && (stsr & ATW_INTR_RPS) == 0 &&