]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'r8169-add-EEE-support-for-RTL8168g+'
authorDavid S. Miller <davem@davemloft.net>
Sat, 26 Jan 2019 06:02:52 +0000 (22:02 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Jan 2019 06:02:52 +0000 (22:02 -0800)
commit0d3bc283e2abf2760511952182b4aa1f0a17db21
tree9aa1829333845212e950cbe237793b61acd1a017
parent940adf43c51c33358f978192854a6b2bbd419773
parent3e0020136c119f5d58a040ef0677233f75b6fbe7
Merge branch 'r8169-add-EEE-support-for-RTL8168g+'

Heiner Kallweit says:

====================
r8169: add EEE support for RTL8168g+

This series adds general EEE support to be used with ethtool.
In addition it implements EEE for chip versions from RTL8168g.
The first patch leaves the default chip settings and the
second enables EEE per default. This allows us to revert patch 2
w/o removing EEE support completely if we should face issues with
EEE on particular chip versions.

Unfortunately Realtek decided not to use the standard EEE MMD
registers but to use proprietary registers. Therefore we can't
use phylib functions like phy_ethtool_set_eee and have to
reimplement the functionality.

Tested on a system with RTL8168g (chip version 40).
====================

Signed-off-by: David S. Miller <davem@davemloft.net>