summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2006-07-01 05:07:27 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2006-07-01 05:07:27 +0000
commitd454332035a9234a56cc734056f3dce1ee06c2c2 (patch)
treef850e543b06af9e056bba45eeffe09f97ff41198 /sys
parent63d78e0be1f44fa874f68b95f1b14078baeda414 (diff)
Remove a few noisy debug printfs that aren't doing anything useful.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/if_zyd.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/sys/dev/usb/if_zyd.c b/sys/dev/usb/if_zyd.c
index 6c13eec6ced..07e37d989c8 100644
--- a/sys/dev/usb/if_zyd.c
+++ b/sys/dev/usb/if_zyd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_zyd.c,v 1.12 2006/07/01 04:25:07 jsg Exp $ */
+/* $OpenBSD: if_zyd.c,v 1.13 2006/07/01 05:07:26 jsg Exp $ */
/*
* Copyright (c) 2006 by Florian Stoehr <ich@florian-stoehr.de>
@@ -1583,10 +1583,6 @@ USB_ATTACH(zyd)
else
zyd_attachhook(sc);
- DPRINTF(("Setting debug flags\n"));
- /* TODO: What about debugging flags in OpenBSD? */
-/* sc->sc_ic.ic_debug = IEEE80211_MSG_ANY;*/ /* <<<--- this is the NetBSD version */
-
USB_ATTACH_SUCCESS_RETURN;
}
@@ -1795,8 +1791,6 @@ zyd_rf_rfmd_set_channel(struct zyd_softc *sc, struct zyd_rf *rf,
int i;
usbd_status rv;
- DPRINTF(("Entering zyd_rf_rfmd_set_channel()\n"));
-
dp = rfmd_table[channel - 1];
for (i = 0; i < 2; i++) {
@@ -1806,8 +1800,6 @@ zyd_rf_rfmd_set_channel(struct zyd_softc *sc, struct zyd_rf *rf,
break;
}
- DPRINTF(("Finished zyd_rf_rfmd_set_channel()\n"));
-
return rv;
}
@@ -3270,8 +3262,6 @@ zyd_set_chan(struct zyd_softc *sc, struct ieee80211_channel *c)
u_int i, chan;*/
unsigned int chan;
- DPRINTF(("Entering zyd_set_chan()\n"));
-
chan = ieee80211_chan2ieee(ic, c);
DPRINTF(("zyd_set_chan: Will try %d\n", chan));
@@ -3282,8 +3272,6 @@ zyd_set_chan(struct zyd_softc *sc, struct ieee80211_channel *c)
return;
}
- DPRINTF(("@1: zyd_set_chan()\n"));
-
zyd_lock_phy(sc);
sc->rf.set_channel(sc, &sc->rf, chan);
@@ -3295,8 +3283,6 @@ zyd_set_chan(struct zyd_softc *sc, struct ieee80211_channel *c)
zyd_singleregwrite32(sc, ZYD_CR68, sc->pwr_cal_values[chan - 1]);
zyd_unlock_phy(sc);
-
- DPRINTF(("Finished zyd_set_chan()\n"));
}
/*
@@ -3570,8 +3556,6 @@ zyd_if_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
struct ifreq *ifr;
int err = 0, s;
- DPRINTF(("Entering zyd_if_ioctl()\n"));
-
s = splnet();
switch (command) {
@@ -3585,7 +3569,6 @@ zyd_if_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
/* FALLTHROUGH */
case SIOCSIFFLAGS:
- DPRINTF(("IOCTL: SIOCSIFFLAGS\n"));
if (ifp->if_flags & IFF_UP) {
if (ifp->if_flags & IFF_RUNNING)
zyd_update_promisc(sc);
@@ -3599,7 +3582,6 @@ zyd_if_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
case SIOCADDMULTI:
case SIOCDELMULTI:
- DPRINTF(("IOCTL: SIOCADDMULTI\n"));
ifr = (struct ifreq *)data;
err = (command == SIOCADDMULTI) ?
ether_addmulti(ifr, &ic->ic_ac) :
@@ -3645,8 +3627,6 @@ zyd_if_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
splx(s);
- DPRINTF(("Finished zyd_if_ioctl()\n"));
-
return (err);
}