summaryrefslogtreecommitdiff
path: root/sys/dev/ic/acx.c
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2006-08-08 09:02:49 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2006-08-08 09:02:49 +0000
commita1c83407c9863e0cbc243064f5c127527d9024bd (patch)
tree6471583b7f53a974875aa8fd67e865ec93dcc0de /sys/dev/ic/acx.c
parent8672cd5704846b9e5371df3396c32ec627388ff4 (diff)
Don't yell about failed channel enabling in none-debug mode, because we
use a static number of channels. ok jsg@
Diffstat (limited to 'sys/dev/ic/acx.c')
-rw-r--r--sys/dev/ic/acx.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ic/acx.c b/sys/dev/ic/acx.c
index 1038163f890..4db781b3a8d 100644
--- a/sys/dev/ic/acx.c
+++ b/sys/dev/ic/acx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acx.c,v 1.34 2006/08/08 05:18:53 jsg Exp $ */
+/* $OpenBSD: acx.c,v 1.35 2006/08/08 09:02:48 mglocker Exp $ */
/*
* Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org>
@@ -141,16 +141,16 @@ int acxdebug = 1;
#define ACX_ENABLE_TXCHAN(sc, chan, ifname) \
do { \
if (acx_enable_txchan((sc), (chan)) != 0) { \
- printf("%s: enable TX on channel %d failed\n", \
- (ifname), (chan)); \
+ DPRINTF(("%s: enable TX on channel %d failed\n", \
+ (ifname), (chan))); \
} \
} while (0)
#define ACX_ENABLE_RXCHAN(sc, chan, ifname) \
do { \
if (acx_enable_rxchan((sc), (chan)) != 0) { \
- printf("%s: enable RX on channel %d failed\n", \
- (ifname), (chan)); \
+ DPRINTF(("%s: enable RX on channel %d failed\n", \
+ (ifname), (chan))); \
} \
} while (0)
@@ -2693,7 +2693,7 @@ acx_exec_command(struct acx_softc *sc, uint16_t cmd, void *param,
/* Get command exec status */
status = (CMD_READ_4(sc) >> ACX_CMD_STATUS_SHIFT);
if (status != ACX_CMD_STATUS_OK) {
- printf("%s: cmd %04x failed\n", sc->sc_dev.dv_xname, cmd);
+ DPRINTF(("%s: cmd %04x failed\n", sc->sc_dev.dv_xname, cmd));
ret = 1;
goto back;
}