]> git.dujemihanovic.xyz Git - linux.git/commit
net: phy: micrel: Fix the KSZ9131 MDI-X status issue
authorRaju Lakkaraju <Raju.Lakkaraju@microchip.com>
Thu, 25 Jul 2024 07:11:25 +0000 (12:41 +0530)
committerJakub Kicinski <kuba@kernel.org>
Tue, 30 Jul 2024 22:10:53 +0000 (15:10 -0700)
commit84383b5ef4cd21b4a67de92afdc05a03b5247db9
tree0c7c45d07ead5424596da28e7a76712cc5b7bac1
parent0aa3ca956c46d849775eae1816cef8fe4bc8b50e
net: phy: micrel: Fix the KSZ9131 MDI-X status issue

The MDIX status is not accurately reflecting the current state after the link
partner has manually altered its MDIX configuration while operating in forced
mode.

Access information about Auto mdix completion and pair selection from the
KSZ9131's Auto/MDI/MDI-X status register

Fixes: b64e6a8794d9 ("net: phy: micrel: Add PHY Auto/MDI/MDI-X set driver for KSZ9131")
Signed-off-by: Raju Lakkaraju <Raju.Lakkaraju@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20240725071125.13960-1-Raju.Lakkaraju@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/micrel.c