diff options
author | Siddharth Vadapalli <s-vadapalli@ti.com> | 2023-03-21 16:49:55 +0530 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-03-22 22:16:24 -0700 |
commit | a2935a1cd85fc76198a1980abfeb6dc9a776dcf3 (patch) | |
tree | b5bc99103a4c356b106d91410f0960ec8c986226 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 603c3345589de01e26c93d3a74413af6ca1c93b9 (diff) |
net: ethernet: ti: am65-cpsw: Simplify setting supported interface
Convert the existing IF/ELSE statement based approach of setting the
supported_interfaces member of struct "phylink_config", to SWITCH
statements. This will help scale to newer PHY-MODES as well as newer
compatibles.
Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
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