r8169: add support for EEE on RTL8125
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 28 Aug 2019 20:29:05 +0000 (22:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2019 00:47:27 +0000 (17:47 -0700)
commitb3a42e3a78ce0599c700a8c89befc67a35d54c31
tree0bce876db8f1e9f348cd16874a5a75a28fb47b39
parent02bf642b188a32b63e2406ed61e940dd80e5b1c7
r8169: add support for EEE on RTL8125

This adds EEE support for RTL8125 based on the vendor driver.
Supported is EEE for 100Mbps and 1Gbps. Realtek recommended to not yet
enable EEE for 2.5Gbps due to potential compatibility issues. Also
ethtool doesn't support yet controlling EEE for 2.5Gbps and 5Gbps.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c