net: phy: c45: add genphy_c45_an_config_eee_aneg() function
authorOleksij Rempel <o.rempel@pengutronix.de>
Wed, 22 Feb 2023 05:50:41 +0000 (06:50 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 23 Feb 2023 12:43:23 +0000 (13:43 +0100)
commitb6478b8c93304fa0483e4657779b44634a1711c7
treef841dd7706a12d3a12ffd8ddb5b44cc184378a64
parente209519b623391465c0b37caca89bf0ffff91f53
net: phy: c45: add genphy_c45_an_config_eee_aneg() function

Add new genphy_c45_an_config_eee_aneg() function and replace some of
genphy_c45_write_eee_adv() calls. This will be needed by the next patch.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/phy-c45.c
drivers/net/phy/phy_device.c
include/linux/phy.h