diff options
author | Jakub Kicinski <kuba@kernel.org> | 2024-12-06 17:47:34 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-06 17:47:35 -0800 |
commit | 7a2716ac9a5b2a2dd0443b101766d3721f094ee1 (patch) | |
tree | aa1716d0246ff6e955cd6ec293bc39df1123bd87 /rust/helpers/workqueue.c | |
parent | 48697bdfb65d21bab8c686830b04bf2e47b96d52 (diff) | |
parent | f899c594e138eda72804b16babbdeff92707d7b0 (diff) |
Merge branch 'net-phylib-eee-cleanups'
Russell King says:
====================
net: phylib EEE cleanups
Clean up phylib's EEE support. Patches previously posted as RFC as part
of the phylink EEE series.
Patch 1 changes the Marvell driver to use the state we store in
struct phy_device, rather than manually calling
phydev->eee_cfg.eee_enabled.
Patch 2 avoids genphy_c45_ethtool_get_eee() setting ->eee_enabled, as
we copy that from phydev->eee_cfg.eee_enabled later, and after patch 3
mo one uses this after calling genphy_c45_ethtool_get_eee(). In fact,
the only caller of this function now is phy_ethtool_get_eee().
As all callers to genphy_c45_eee_is_active() now pass NULL as its
is_enabled flag, this is no longer useful. Remove the argument in
patch 3.
Patch 4 updates the phylib documentation to make it absolutely clear
that phy_ethtool_get_eee() now fills in all members of struct
ethtool_keee, which is why we now have so many buggy network drivers.
====================
Link: https://patch.msgid.link/Z1GDZlFyF2fsFa3S@shell.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions