[PATCH net v333 0/4] net: phy: EEE fixes

From: Oleksij Rempel
Date: Wed Feb 22 2023 - 00:51:05 EST


changes v3:
- add kernel test robot tags to commit log
- reword comment for genphy_c45_an_config_eee_aneg() function

changes v2:
- restore previous ethtool set logic for the case where advertisements
are not provided by user space.
- use ethtool_convert_legacy_u32_to_link_mode() where possible
- genphy_c45_an_config_eee_aneg(): move adv initialization in to the if
scope.

Different EEE related fixes.

Oleksij Rempel (4):
net: phy: c45: use "supported_eee" instead of supported for access
validation
net: phy: c45: add genphy_c45_an_config_eee_aneg() function
net: phy: do not force EEE support
net: phy: c45: genphy_c45_ethtool_set_eee: validate EEE link modes

drivers/net/phy/phy-c45.c | 54 ++++++++++++++++++++++++++++--------
drivers/net/phy/phy_device.c | 21 +++++++++++++-
include/linux/phy.h | 6 ++++
3 files changed, 68 insertions(+), 13 deletions(-)

--
2.30.2