summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMaxime Chevallier <maxime.chevallier@bootlin.com>2026-03-19 21:17:04 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-21 05:14:35 +0300
commit2e69e55897dc1898175f42989dd575ca8c467363 (patch)
tree2006b2ec54861425d2cd65c2f3321b9e3418c221 /include
parentfa782d4df0b7fa5f3f9d2d7d74f422004487836c (diff)
downloadlinux-2e69e55897dc1898175f42989dd575ca8c467363.tar.xz
net: dsa: microchip: Don't embed struct phy_device to maintain the port state
The KSZ9477 maintains the SGMII port's state for speed, duplex and link status to be able to fixup the accesses to its internal older version of the Designware XPCS. However, it does so by embedding a full instance of struct phy_device, only to use the 'speed', 'link' and 'duplex' fields. This is also only used for the SGMII port, it's otherwise unused for all other regular ports. Replace that with simple int/bool values. Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20260319181705.1576679-1-maxime.chevallier@bootlin.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions