]> 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)
commit620d90a59e1e5448aa1058dc4ec5c535507a86d0
tree9aa1829333845212e950cbe237793b61acd1a017
parenta0dd18d3c7da28b9bdc51f707ac926b11be0d8ba
parent49ad3954e9eb427bf912f4acb80e5ad6c7ecbe36
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>