aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2021-01-04 21:47:17 +0000
committerJakub Kicinski <[email protected]>2021-01-04 21:47:18 +0000
commit08ad4839ce34cea7b5ea4ac1867a08fe96709e1a (patch)
tree6c04fd751dd793327fff453663a6d1437d9cf89f /net/switchdev/switchdev.c
parentnet: lapb: Decrease the refcount of "struct lapb_cb" in lapb_device_event (diff)
parentnet: dsa: lantiq_gswip: Fix GSWIP_MII_CFG(p) register access (diff)
downloadkernel-08ad4839ce34cea7b5ea4ac1867a08fe96709e1a.tar.gz
kernel-08ad4839ce34cea7b5ea4ac1867a08fe96709e1a.zip
Merge branch 'net-dsa-lantiq_gswip-two-fixes-for-net-stable'
Martin Blumenstingl says: ==================== net: dsa: lantiq_gswip: two fixes for -net/-stable While testing the lantiq_gswip driver in OpenWrt at least one board had a non-working Ethernet port connected to an internal 100Mbit/s PHY22F GPHY. The problem which could be observed: - the PHY would detect the link just fine - ethtool stats would see the TX counter rise - the RX counter in ethtool was stuck at zero It turns out that two independent patches are needed to fix this: - first we need to enable the MII data lines also for internal PHYs - second we need to program the GSWIP_MII_CFG registers for all ports except the CPU port These two patches have also been tested by back-porting them on top of Linux 5.4.86 in OpenWrt. Special thanks to Hauke for debugging and brainstorming this on IRC with me! ==================== Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions