summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBastien Curutchet (Schneider Electric) <bastien.curutchet@bootlin.com>2026-06-08 17:10:06 +0300
committerJakub Kicinski <kuba@kernel.org>2026-06-13 04:08:07 +0300
commit4d574a5cfa4859340638e60caad77d51bb6dbdaa (patch)
tree24bc5235340b8f2bfa92c8ca5f87768a5ce50872 /include
parentb54a8087c43c8d704429e69c35e37f43c1c6270a (diff)
downloadlinux-4d574a5cfa4859340638e60caad77d51bb6dbdaa.tar.xz
net: dsa: microchip: implement get_phy_flags only if needed
The common ksz_get_phy_flags() is used by all the switches to implement the optional .get_phy_flags DSA operation. It always returns 0 except for KSZ88X3 switches where an errata has to be handled. Make ksz_get_phy_flags() ksz88xx-specific. Remove the get_phy_flags implementation for the switches that don't need it. Signed-off-by: Bastien Curutchet (Schneider Electric) <bastien.curutchet@bootlin.com> Link: https://patch.msgid.link/20260608-clean-ksz-3rd-v2-3-6e61b7be23c4@bootlin.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions