Date: Thu, 13 Nov 2008 11:00:15 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r184918 - in stable/7/sys: . dev/mii modules/cxgb Message-ID: <200811131100.mADB0FHg057297@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811131100.mADB0FHg057297>