Home
last modified time | relevance | path

Searched hist:d2fd719bcb0e83cb39cfee22ee800f98a56eceb3 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/phy/
H A Dmicrel.cdiff 68dac3eb50be32957ae6e1e6da9281a3b7c6658b Thu Apr 09 22:16:16 CDT 2020 Atsushi Nemoto <atsushi.nemoto@sord.co.jp> net: phy: micrel: use genphy_read_status for KSZ9131

KSZ9131 will not work with some switches due to workaround for KSZ9031
introduced in commit d2fd719bcb0e83cb39cfee22ee800f98a56eceb3
("net/phy: micrel: Add workaround for bad autoneg").
Use genphy_read_status instead of dedicated ksz9031_read_status.

Fixes: bff5b4b37372 ("net: phy: micrel: add Microchip KSZ9131 initial driver")
Signed-off-by: Atsushi Nemoto <atsushi.nemoto@sord.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
diff d2fd719bcb0e83cb39cfee22ee800f98a56eceb3 Wed Oct 21 14:17:04 CDT 2015 Nathan Sullivan <nathan.sullivan@ni.com> net/phy: micrel: Add workaround for bad autoneg

Very rarely, the KSZ9031 will appear to complete autonegotiation, but
will drop all traffic afterwards. When this happens, the idle error
count will read 0xFF after autonegotiation completes. Reset the PHY
when in that state.

Signed-off-by: Nathan Sullivan <nathan.sullivan@ni.com>
Signed-off-by: David S. Miller <davem@davemloft.net>