diff options
author | Steve Shih <[email protected]> | 2016-04-05 11:30:03 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2016-05-13 14:23:37 -0700 |
commit | e11f303e3d0731a7379252192e7d02a1ae319238 (patch) | |
tree | 7bcfef075cbb28c7c0eb4461717cdf328d72e510 /net/switchdev/switchdev.c | |
parent | ed7cbbce544856b20e5811de373cf92e92499771 (diff) |
e1000e: fix ethtool autoneg off for non-copper
This patch fixes the issues for disabling auto-negotiation and forcing
speed and duplex settings for the non-copper media.
For non-copper media, e1000_get_settings should return ETH_TP_MDI_INVALID for
eth_tp_mdix_ctrl instead of ETH_TP_MDI_AUTO so subsequent e1000_set_settings
call would not fail with -EOPNOTSUPP.
e1000_set_spd_dplx should not automatically turn autoneg back on for forced
1000 Mbps full duplex settings for non-copper media.
Cc: [email protected]
Cc: Daniel Walker <[email protected]>
Signed-off-by: Steve Shih <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions