diff options
author | Maxime Chevallier <[email protected]> | 2024-03-26 14:32:09 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-03-28 19:21:33 -0700 |
commit | 10658e99d952769002c11f7884eebb5a0310d161 (patch) | |
tree | 19aab7da3f3a3e02682ecd1f7f8b10fb4e07ba2c /tools/perf/scripts/python/libxed.py | |
parent | dceb393a0a8e82ff05b7c1f6c911d0779d856a7a (diff) |
net: stmmac: don't rely on lynx_pcs presence to check for a PHY
When initializing attached PHYs, there are some cases where we don't expect
any PHY to be connected. The logic uses conditions based on various local
PCS configuration, but also calls-in phylink_expects_phy() via
stmmac_init_phy(), which is enough to ensure we don't try to initialize a
PHY when using a Lynx PCS, as long as we have the phy_interface set to a
802.3z mode and are using inband negociation.
Drop the lynx check, making the stmmac generic code more pcs_lynx-agnostic.
Signed-off-by: Maxime Chevallier <[email protected]>
[rgantois: commit log]
Signed-off-by: Romain Gantois <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions