Date: Thu, 18 Jun 2009 04:47:40 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/mii e1000phy.c Message-ID: <200906180447.n5I4lsVB051848@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2009-06-18 04:47:40 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/dev/mii e1000phy.c
Log:
SVN rev 194414 on 2009-06-18 04:47:40Z by yongari
MFC r192708-192711:
r192708:
Use mii_phy_add_media() and remove usage of local macro ADD. Also
checks extended status register to see whether the PHY is fast
ethernet or not. This removes a lot of checks for specific PHY
models and it makes easy to add more PHYs to e1000phy(4).
While I'm here remove setting mii_anegticks as it is set with
mii_phy_add_media().
r192709:
Report current link state while auto-negotiation is in progress.
r192710:
Don't read unnecessary PHY registers. Speed/duplex resolution bit
is valid only for auto-negotiation case so check the bit if we know
auto-negotiation is active. While I'm here explicitly checks
current speed with speed mask and set IFM_NONE if resolved speed
is unknown.
r192711:
Do not ignore NEXT Page capability of auto-negotiation
advertisement register. Some PHYs such as 88E3016 requires NEXT
Page capability to establish valid link. Also set protocol selector
field which is read only but it makes the intention clearer.
Revision Changes Path
1.18.2.5 +36 -67 src/sys/dev/mii/e1000phy.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906180447.n5I4lsVB051848>
