diff options
| author | 2022-06-21 10:37:40 +0100 | |
|---|---|---|
| committer | 2022-06-23 20:26:41 -0700 | |
| commit | 3c783b83bd0f52f3f4e017ed1598c646e083e7a2 (patch) | |
| tree | 5ab7983915bb76bdec57803cf00256ccab66bf6d /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | net: dsa: mv88e6xxx: remove mv88e6065 dead code (diff) | |
net: dsa: mv88e6xxx: get rid of SPEED_MAX setting
Currently, all the device specific speed setting functions convert
SPEED_MAX to the actual speed of the port. Rather than having each
of the mv88e6xxx chip specifics handling SPEED_MAX, derive it from
the mac_capabilities instead.
This is only needed for CPU and DSA ports, so move the logic up into
mv88e6xxx_setup_port() - which allows us to kill off all users of
SPEED_MAX throughout the driver.
Signed-off-by: Russell King <rmk+kernel@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
