]> 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)
commit14579c6b300cdbf8798d45de1c798e3055c23a44
tree7ef7a63150312fb62b7fb0b4e4dab7cbcf8d3825
parent2104b6d8845bc26d56d2afbe7e0cd7da501db72c
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