diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2001-04-13 04:32:11 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2001-04-13 04:32:11 +0000 |
commit | 6fd4c724d9b319f77e20535f4616fae6da5803c1 (patch) | |
tree | eaf636cc2f06bc2b1764572c42f7ee36df10956b /sys/arch/sparc | |
parent | 6f14233f45c422bb01fcbeee812f3b1929ad9166 (diff) |
silence printfs from media selection.
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r-- | sys/arch/sparc/dev/be.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/sparc/dev/be.c b/sys/arch/sparc/dev/be.c index 56291a12cee..455e3bb9c92 100644 --- a/sys/arch/sparc/dev/be.c +++ b/sys/arch/sparc/dev/be.c @@ -1,4 +1,4 @@ -/* $OpenBSD: be.c,v 1.25 2001/02/20 19:39:33 mickey Exp $ */ +/* $OpenBSD: be.c,v 1.26 2001/04/13 04:32:10 brad Exp $ */ /* * Copyright (c) 1998 Theo de Raadt and Jason L. Wright. @@ -1075,28 +1075,23 @@ be_ifmedia_upd(ifp) if (IFM_SUBTYPE(ifm->ifm_media) == IFM_100_T4) { bmcr |= PHY_BMCR_SPEED; bmcr &= ~PHY_BMCR_DUPLEX; - printf("%s: selecting 100baseT4", sc->sc_dev.dv_xname); } if (IFM_SUBTYPE(ifm->ifm_media) == IFM_100_TX) { bmcr |= PHY_BMCR_SPEED; - printf("%s: selecting 100baseTX", sc->sc_dev.dv_xname); } if (IFM_SUBTYPE(ifm->ifm_media) == IFM_10_T) { bmcr &= ~PHY_BMCR_SPEED; - printf("%s: selecting 10baseT", sc->sc_dev.dv_xname); } if ((ifm->ifm_media & IFM_GMASK) == IFM_FDX) { bmcr |= PHY_BMCR_DUPLEX; sc->sc_br->tx_cfg |= BE_BR_TXCFG_FULLDPLX; - printf(" full-duplex\n"); } else { bmcr &= ~PHY_BMCR_DUPLEX; sc->sc_br->tx_cfg &= ~BE_BR_TXCFG_FULLDPLX; - printf(" half-duplex\n"); } be_tcvr_write(sc, PHY_BMCR, bmcr & (~PHY_BMCR_ISOLATE)); |