diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2004-09-28 01:13:33 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2004-09-28 01:13:33 +0000 |
commit | 92723620735c0ac445695206c5ea3f2ad746d082 (patch) | |
tree | 272dad7f9750b5bcf84cf4abff0e7f3249084110 /sys/dev/mii/exphy.c | |
parent | df92dc15996d4d7a43e2b1928bb4bf802dd7015e (diff) |
mii_phy_tick() already checks for autonegotiation.
Diffstat (limited to 'sys/dev/mii/exphy.c')
-rw-r--r-- | sys/dev/mii/exphy.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/mii/exphy.c b/sys/dev/mii/exphy.c index 02390c9b634..541c5b17892 100644 --- a/sys/dev/mii/exphy.c +++ b/sys/dev/mii/exphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exphy.c,v 1.15 2004/09/27 18:25:48 brad Exp $ */ +/* $OpenBSD: exphy.c,v 1.16 2004/09/28 01:13:32 brad Exp $ */ /* $NetBSD: exphy.c,v 1.23 2000/02/02 23:34:56 thorpej Exp $ */ /*- @@ -204,12 +204,6 @@ exphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) break; case MII_TICK: - /* - * Only used for autonegotiation. - */ - if (IFM_SUBTYPE(ife->ifm_media) != IFM_AUTO) - return (0); - if (mii_phy_tick(sc) == EJUSTRETURN) return (0); |