]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
r8169: use the generic EEE management functions
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 15 Aug 2019 12:14:18 +0000 (14:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Aug 2019 18:48:30 +0000 (11:48 -0700)
commit2e779ddb5617928ee09842758c4734682264279d
tree57b1595298f13e05776dc86330cd5b09bde9f338
parent5b3f13950c91721ccabd001015ef09999c2306bb
r8169: use the generic EEE management functions

Now that the Realtek PHY driver maps the vendor-specific EEE registers
to the standard MMD registers, we can remove all special handling and
use the generic functions phy_ethtool_get/set_eee.

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