OSDN Git Service

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)
commitf515220cc24be9824d304ebe62867ec31aeb47fb
tree9aa1829333845212e950cbe237793b61acd1a017
parentdda6a7a3685bb1c35d3b500ab83d9780d681d69d
parentb6c7fa401625d949e5e370f32e74f22c3bbaed51
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>