diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2008-09-11 18:26:59 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2008-09-11 18:26:59 +0000 |
commit | 98998cdcc8756568297d7c3144acd9e209657ded (patch) | |
tree | 708b40a281091a042bbd62a54b33c0a9ae1b46f6 /sys | |
parent | 531090b9ea6b5c36b4669465dc11fa6d6162fb6d (diff) |
In rlphy_service() for the MII_TICK case don't bother to check whether
the currently selected media is of type IFM_AUTO as autonegotiation
does not need to be kicked anyway.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/mii/rlphy.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/mii/rlphy.c b/sys/dev/mii/rlphy.c index f2b118b43a6..555e8ddec59 100644 --- a/sys/dev/mii/rlphy.c +++ b/sys/dev/mii/rlphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rlphy.c,v 1.29 2008/09/08 07:38:33 brad Exp $ */ +/* $OpenBSD: rlphy.c,v 1.30 2008/09/11 18:26:58 brad Exp $ */ /* * Copyright (c) 1998, 1999 Jason L. Wright (jason@thought.net) @@ -195,12 +195,6 @@ rlphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) return (0); /* - * Only used for autonegotiation. - */ - if (IFM_SUBTYPE(ife->ifm_media) != IFM_AUTO) - break; - - /* * The RealTek PHY's autonegotiation doesn't need to be * kicked; it continues in the background. */ |