diff options
author | harti <harti@FreeBSD.org> | 2003-08-05 12:20:19 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2003-08-05 12:20:19 +0000 |
commit | 1d482c7b900462617a10a38708428731ebc7408c (patch) | |
tree | 6cf68493fb74703b0f56ec4250b6af0b48f60ce0 /sys/dev/en | |
parent | cd740a3ff60d384e79d9dcf95bd4aeb4795d52ca (diff) | |
download | FreeBSD-src-1d482c7b900462617a10a38708428731ebc7408c.zip FreeBSD-src-1d482c7b900462617a10a38708428731ebc7408c.tar.gz |
Arrghhh. Remove debugging printf's that slipped in in the pre-previous
commit.
Diffstat (limited to 'sys/dev/en')
-rw-r--r-- | sys/dev/en/midway.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/dev/en/midway.c b/sys/dev/en/midway.c index dedcc84..e6726a8 100644 --- a/sys/dev/en/midway.c +++ b/sys/dev/en/midway.c @@ -1148,7 +1148,6 @@ en_loadvc(struct en_softc *sc, struct en_vcc *vc) { uint32_t reg = en_read(sc, MID_VC(vc->vcc.vci)); -printf("loadvc %u\n", vc->vcc.vci); reg = MIDV_SETMODE(reg, MIDV_TRASH); en_write(sc, MID_VC(vc->vcc.vci), reg); DELAY(27); @@ -1494,14 +1493,9 @@ en_init(struct en_softc *sc) (u_int)en_read(sc, MIDX_PLACE(slot)))); } - -printf("Re-loading vc's\n"); for (vc = 0; vc < MID_N_VC; vc++) - if (sc->vccs[vc] != NULL) { -printf("re-loading %u\n", vc); + if (sc->vccs[vc] != NULL) en_loadvc(sc, sc->vccs[vc]); -} - /* * enable! @@ -1620,7 +1614,6 @@ en_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) case SIOCSIFFLAGS: EN_LOCK(sc); -printf("if_flags=%x\n", ifp->if_flags); if (ifp->if_flags & IFF_UP) { if (!(ifp->if_flags & IFF_RUNNING)) en_init(sc); @@ -3106,10 +3099,7 @@ en_destroy(struct en_softc *sc) /* get rid of sticky VCCs */ for (i = 0; i < MID_N_VC; i++) if (sc->vccs[i] != NULL) -{ -printf("freeing %p\n", sc->vccs[i]); uma_zfree(en_vcc_zone, sc->vccs[i]); -} free(sc->vccs, M_DEVBUF); } |