diff options
author | 2025-05-01 12:45:21 +0100 | |
---|---|---|
committer | 2025-05-02 18:25:08 -0700 | |
commit | d3836052fe098798b7a61a59c0032da473d801c4 (patch) | |
tree | 260496d81c91196bb7e30dda37a9197d94e9f39a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: stmmac: intel: move phy_interface init to tgl_common_data() (diff) | |
download | wireguard-linux-d3836052fe098798b7a61a59c0032da473d801c4.tar.xz wireguard-linux-d3836052fe098798b7a61a59c0032da473d801c4.zip |
net: stmmac: intel: convert speed_mode_2500() to get_interfaces()
TGL platforms support either SGMII or 2500BASE-X, which is determined
by reading a SERDES register.
Thus, plat->phy_interface (and phylink's supported_interfaces) depend
on this. Use the new .get_interfaces() method to set both
plat->phy_interface and the supported_interfaces bitmap.
This removes the only user of the .speed_mode_2500() method.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/E1uASLx-0021Qs-Uz@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions