svn commit: r213969 - stable/7/sys/dev/mii
Marius Strobl
marius at FreeBSD.org
Sun Oct 17 13:10:23 UTC 2010
Author: marius
Date: Sun Oct 17 13:10:22 2010
New Revision: 213969
URL: http://svn.freebsd.org/changeset/base/213969
Log:
MFC: r173164
Setting sc->mii_anegticks to MII_ANEGTICKS_GIGE in rgephy_attach()
is redundant. mii_phy_add_media() already takes care of that.
Pointed out by: marius
Modified:
stable/7/sys/dev/mii/rgephy.c
Directory Properties:
stable/7/sys/ (props changed)
stable/7/sys/cddl/contrib/opensolaris/ (props changed)
stable/7/sys/contrib/dev/acpica/ (props changed)
stable/7/sys/contrib/pf/ (props changed)
Modified: stable/7/sys/dev/mii/rgephy.c
==============================================================================
--- stable/7/sys/dev/mii/rgephy.c Sun Oct 17 13:07:35 2010 (r213968)
+++ stable/7/sys/dev/mii/rgephy.c Sun Oct 17 13:10:22 2010 (r213969)
@@ -126,7 +126,6 @@ rgephy_attach(device_t dev)
sc->mii_phy = ma->mii_phyno;
sc->mii_service = rgephy_service;
sc->mii_pdata = mii;
- sc->mii_anegticks = MII_ANEGTICKS_GIGE;
mii->mii_instance++;
More information about the svn-src-stable-7
mailing list