]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitd2fd719bcb0e83cb39cfee22ee800f98a56eceb3
tree7ef7a63150312fb62b7fb0b4e4dab7cbcf8d3825
parentec3661b42257d9a06cf0d318175623ac7a660113
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