aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_timer.c
diff options
context:
space:
mode:
authorChristian Eggers <[email protected]>2024-07-03 14:57:17 +0000
committerJakub Kicinski <[email protected]>2024-07-05 02:19:21 +0000
commit0005b2dc43f96b93fc5b0850d7ca3f7aeac9129c (patch)
tree93833da6fb8bc4e62d505866842d38fff56ff9b9 /net/ipv4/tcp_timer.c
parentMerge tag 'net-6.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/net... (diff)
downloadkernel-0005b2dc43f96b93fc5b0850d7ca3f7aeac9129c.tar.gz
kernel-0005b2dc43f96b93fc5b0850d7ca3f7aeac9129c.zip
dsa: lan9303: Fix mapping between DSA port number and PHY address
The 'phy' parameter supplied to lan9303_phy_read/_write was sometimes a DSA port number and sometimes a PHY address. This isn't a problem as long as they are equal. But if the external phy_addr_sel_strap pin is wired to 'high', the PHY addresses change from 0-1-2 to 1-2-3 (CPU, slave0, slave1). In this case, lan9303_phy_read/_write must translate between DSA port numbers and the corresponding PHY address. Fixes: a1292595e006 ("net: dsa: add new DSA switch driver for the SMSC-LAN9303") Signed-off-by: Christian Eggers <[email protected]> Reviewed-by: Michal Kubiak <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Reviewed-by: Vladimir Oltean <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions