diff options
author | Lendacky, Thomas <Thomas.Lendacky@amd.com> | 2015-03-20 16:50:04 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-20 20:33:56 (GMT) |
commit | 9ae5eecdba7297725b280e81e905f48f85f9ffe7 (patch) | |
tree | ba768a09585a8044366f9b0fa4f05639ee97dce7 /drivers/net/ethernet/amd/xgbe | |
parent | 65f57cb152ea0ad464793927e79074eb6da0064a (diff) | |
download | linux-9ae5eecdba7297725b280e81e905f48f85f9ffe7.tar.xz |
amd-xgbe-phy: Provide support for auto-negotiation timeout
Currently, there is no interrupt code that indicates auto-negotiation
has timed out. If the auto-negotiation has timed out then the start of
a new auto-negotiation will begin again with a new base page being
received. The state machine could be in a state that is not expecting
this interrupt code which results in an error during auto-negotiation.
Update the code to timestamp when the auto-negotiation starts. Should
another page received interrupt code occur before auto-negotiation has
completed but after the auto-negotiation timeout, then reset the state
machine to allow the auto-negotiation to continue.
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/amd/xgbe')
0 files changed, 0 insertions, 0 deletions