diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-06-29 04:37:08 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-06-29 04:37:08 +0000 |
commit | aee3c304ee9e16cd848ad207f97ff2a571086d94 (patch) | |
tree | 687e711eb19ae210dc7c9242cbcface5d4b77d1c /sys/dev/mii/brgphy.c | |
parent | 6e472d5df1959e9ed453814b18662dd53f6e1053 (diff) |
remove unused FreeBSD printf
Diffstat (limited to 'sys/dev/mii/brgphy.c')
-rw-r--r-- | sys/dev/mii/brgphy.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c index c000ebc0902..8502d93ee4c 100644 --- a/sys/dev/mii/brgphy.c +++ b/sys/dev/mii/brgphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: brgphy.c,v 1.25 2005/06/11 06:12:14 brad Exp $ */ +/* $OpenBSD: brgphy.c,v 1.26 2005/06/29 04:37:07 brad Exp $ */ /* * Copyright (c) 2000 @@ -399,9 +399,6 @@ brgphy_loop(struct mii_softc *sc) for (i = 0; i < 15000; i++) { bmsr = PHY_READ(sc, BRGPHY_MII_BMSR); if (!(bmsr & BRGPHY_BMSR_LINK)) { -#if 0 - device_printf(sc->mii_dev, "looped %d\n", i); -#endif break; } DELAY(10); @@ -417,11 +414,11 @@ brgphy_reset(struct mii_softc *sc) mii_phy_reset(sc); - brgphy_load_dspcode(sc); - ifp = sc->mii_pdata->mii_ifp; bge_sc = ifp->if_softc; + brgphy_load_dspcode(sc); + /* * Don't enable Ethernet@WireSpeed for the 5700 or the * 5705 A1 and A2 chips. Make sure we only do this test |