diff options
author | 2025-04-24 09:12:21 +0200 | |
---|---|---|
committer | 2025-04-28 06:17:46 -0700 | |
commit | 3bf19459da62113122cfb2b1305677b034529742 (patch) | |
tree | f48bc64f63d81019c5629a7c096fa287e65c70e5 /tools/perf/scripts/python/gecko.py | |
parent | net: stmmac: socfpga: Enable internal GMII when using 1000BaseX (diff) | |
download | wireguard-linux-3bf19459da62113122cfb2b1305677b034529742.tar.xz wireguard-linux-3bf19459da62113122cfb2b1305677b034529742.zip |
net: stmmac: socfpga: Don't check for phy to enable the SGMII adapter
The SGMII adapter needs to be enabled for both Cisco SGMII and 1000BaseX
operations. It doesn't make sense to check for an attached phydev here,
as we simply might not have any, in particular if we're using the
1000BaseX interface mode.
Make so that we only re-enable the SGMII adapter when it's present, and
when we use a phy_mode that is handled by said adapter.
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20250424071223.221239-3-maxime.chevallier@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions