Searched hist:a2935a1c (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | am65-cpsw-nuss.c | a2935a1c Tue Mar 21 06:19:55 CDT 2023 Siddharth Vadapalli <s-vadapalli@ti.com> 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>
|