]> git.ipfire.org Git - thirdparty/linux.git/commit
net: phy: update phy_ethtool_get_eee() documentation
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 5 Dec 2024 10:42:15 +0000 (10:42 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 7 Dec 2024 01:47:32 +0000 (17:47 -0800)
commitf899c594e138eda72804b16babbdeff92707d7b0
treeaa1716d0246ff6e955cd6ec293bc39df1123bd87
parent8f1c716090a7ed20fea802b63b37758169d59b81
net: phy: update phy_ethtool_get_eee() documentation

Update the phy_ethtool_get_eee() documentation to make it clear that
all members of struct ethtool_keee are written by this function.

keee.supported, keee.advertised, keee.lp_advertised and keee.eee_active
are all written by genphy_c45_ethtool_get_eee().

keee.tx_lpi_timer, keee.tx_lpi_enabled and keee.eee_enabled are all
written by eeecfg_to_eee().

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/E1tJ9JH-006LIz-SO@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/phy.c