summaryrefslogtreecommitdiffstats
path: root/net/l2tp
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2024-08-06 14:08:41 +0100
committerJakub Kicinski <kuba@kernel.org>2024-08-08 08:25:04 -0700
commit85ba108a529d99c82e814eaf782a9443acf5eaed (patch)
tree54cb0fa98e01bd141dab0337233a004c214e218f /net/l2tp
parentb928e7d19dfd8a336e13ec0d21e1d60dc285efd5 (diff)
downloadlinux-85ba108a529d99c82e814eaf782a9443acf5eaed.tar.gz
linux-85ba108a529d99c82e814eaf782a9443acf5eaed.tar.bz2
linux-85ba108a529d99c82e814eaf782a9443acf5eaed.zip
net: stmmac: dwmac4: fix PCS duplex mode decode
dwmac4 was decoding the duplex mode from the GMAC_PHYIF_CONTROL_STATUS register incorrectly, using GMAC_PHYIF_CTRLSTATUS_LNKMOD_MASK (value 1) rather than GMAC_PHYIF_CTRLSTATUS_LNKMOD (bit 16). Fix this. Fixes: 70523e639bf8c ("drivers: net: stmmac: reworking the PCS code.") Reviewed-by: Andrew Halaney <ahalaney@redhat.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Serge Semin <fancer.lancer@gmail.com> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/E1sbJvd-001rGD-E3@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/l2tp')
0 files changed, 0 insertions, 0 deletions