]> git.baikalelectronics.ru Git - kernel.git/commit
net/phy: micrel: Add workaround for bad autoneg
authorNathan Sullivan <nathan.sullivan@ni.com>
Wed, 21 Oct 2015 19:17:04 +0000 (14:17 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Oct 2015 09:57:26 +0000 (02:57 -0700)
commit74adacb23914c0c4ef6b497f3f9f1dda7e197d4b
tree7ef7a63150312fb62b7fb0b4e4dab7cbcf8d3825
parent6de0b471267f855d5f298cb599353d807263e64a
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>
drivers/net/phy/micrel.c