diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-05-18 15:54:47 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-05-19 18:14:29 -0700 |
commit | 7da3f901f8ecb425105fad39a0f5de73306abe52 (patch) | |
tree | f1aa8f9c5f2a3913952bfd72ee36f1f6b9f0e99c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | bc5e93e0cd22e360eda23859b939280205567580 (diff) |
net: mtk_eth_soc: correct 802.3z speed setting
Phylink does not guarantee that state->speed will be set correctly in
the mac_config() call, so it's a bug that the driver makes use of it.
Moreover, it is making use of it in a function that is only ever called
for 1000BASE-X and 2500BASE-X which operate at a fixed speed which
happens to be the same setting irrespective of the interface mode. We
can simply remove the switch statement and just set the SGMII interface
speed.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions