summaryrefslogtreecommitdiff
path: root/net/unix
diff options
context:
space:
mode:
authorLendacky, Thomas <Thomas.Lendacky@amd.com>2015-05-26 09:51:49 -0500
committerDavid S. Miller <davem@davemloft.net>2015-05-26 19:47:30 -0400
commit983942a5eacae8821882a3d348618b020098e8dc (patch)
tree78dfbdb46aff14453df7075f887385bed2e55d56 /net/unix
parentfe9066ade6a42a6f0bd22333e5831194104713ce (diff)
amd-xgbe-phy: Fix initial mode when autoneg is disabled
When the ethtool command is used to set the speed of the device while the device is down, the check to set the initial mode may fail when the device is brought up, causing failure to bring the device up. Update the code to set the initial mode based on the desired speed if auto-negotiation is disabled. This patch fixes a bug introduced by: d9663c8c2149 ("amd-xgbe-phy: Use phydev advertising field vs supported") Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions