svn commit: r184918 - in stable/7/sys: . dev/mii modules/cxgb
Pyun YongHyeon
yongari at FreeBSD.org
Thu Nov 13 03:00:15 PST 2008
Author: yongari
Date: Thu Nov 13 11:00:15 2008
New Revision: 184918
URL: http://svn.freebsd.org/changeset/base/184918
Log:
MFC r184253:
Use auto-negotiation for manual media type selection. This fixes
establishment of 10/100Mbps link on Atheros AR8121(L1E).
Approved by: re (kib)
Modified:
stable/7/sys/ (props changed)
stable/7/sys/dev/mii/atphy.c
stable/7/sys/modules/cxgb/ (props changed)
Modified: stable/7/sys/dev/mii/atphy.c
==============================================================================
--- stable/7/sys/dev/mii/atphy.c Thu Nov 13 10:40:13 2008 (r184917)
+++ stable/7/sys/dev/mii/atphy.c Thu Nov 13 11:00:15 2008 (r184918)
@@ -217,7 +217,8 @@ atphy_service(struct mii_softc *sc, stru
/*
* Reset the PHY so all changes take effect.
*/
- PHY_WRITE(sc, MII_BMCR, bmcr | BMCR_RESET);
+ PHY_WRITE(sc, MII_BMCR, bmcr | BMCR_RESET | BMCR_AUTOEN |
+ BMCR_STARTNEG);
done:
break;
More information about the svn-src-stable-7
mailing list