diff options
author | Oleksij Rempel <[email protected]> | 2024-06-14 11:45:16 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-06-18 17:51:45 -0700 |
commit | 40a64cc9679540ff7c46ecc51178b07d42abbb1c (patch) | |
tree | e3ef27241e91cf26b2b067e8dfea0f9a63161416 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
parent | cd6f12e173df44a20c2ac2ac110007dc14968088 (diff) |
net: phy: dp83tg720: get master/slave configuration in link down state
Get master/slave configuration for initial system start with the link in
down state. This ensures ethtool shows current configuration. Also
fixes link reconfiguration with ethtool while in down state, preventing
ethtool from displaying outdated configuration.
Even though dp83tg720_config_init() is executed periodically as long as
the link is in admin up state but no carrier is detected, this is not
sufficient for the link in admin down state where
dp83tg720_read_status() is not periodically executed. To cover this
case, we need an extra read role configuration in
dp83tg720_config_aneg().
Fixes: cb80ee2f9bee1 ("net: phy: Add support for the DP83TG720S Ethernet PHY")
Cc: [email protected]
Signed-off-by: Oleksij Rempel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions