]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r215298, r215459, r215714, r215716
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 26 Nov 2010 20:45:49 +0000 (20:45 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 26 Nov 2010 20:45:49 +0000 (20:45 +0000)
commitaa82daad6b175b8fd496d54fd976de68a34e8888
treefc5cfcfd7e8aec417131408df3d15424747b7fe8
parent3c5fc43f9432e6a71e045f809fac3b52e0030e5f
MFC: r215298, r215459, r215714, r215716

- Change these drivers to take advantage and use the generic IEEE 802.3
  annex 31B full duplex flow control as well as the IFM_1000_T master
  support committed in r215297 (merged to stable/8 in r215881). For
  atphy(4) and jmphy(4) this includes changing these PHY drivers to no
  longer unconditionally advertise support for flow control but only if
  the selected media has IFM_FLOW set (or MIIF_FORCEPAUSE is set).
- Rename {atphy,jmphy}_auto() to {atphy,jmphy}_setmedia() as these handle
  other media types as well.

Reviewed by: yongari (plus additional testing)
Obtained from: NetBSD (partially), OpenBSD (partially)

git-svn-id: svn://svn.freebsd.org/base/stable/8@215882 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/mii/atphy.c
sys/dev/mii/bmtphy.c
sys/dev/mii/gentbi.c
sys/dev/mii/inphy.c
sys/dev/mii/jmphy.c
sys/dev/mii/nsgphy.c
sys/dev/mii/nsphyter.c
sys/dev/mii/rgephy.c