> From: [email protected] [mailto:netdev-
> [email protected]] On Behalf Of Daniel Walker
> Sent: Tuesday, April 5, 2016 11:30 AM
> To: Ruinskiy, Dima <[email protected]>; Kirsher, Jeffrey T
> <[email protected]>; Brandeburg, Jesse
> <[email protected]>; Nelson, Shannon
> <[email protected]>; Wyborny, Carolyn
> <[email protected]>; Skidmore, Donald C
> <[email protected]>; Allan, Bruce W <[email protected]>;
> Ronciak, John <[email protected]>; Williams, Mitch A
> <[email protected]>
> Cc: Steve Shih <[email protected]>; [email protected]; Daniel
> Walker <[email protected]>; [email protected];
> [email protected]; [email protected]
> Subject: [PATCH -v2] drivers: net: ethernet: intel: e1000e: fix ethtool 
> autoneg
> off for non-copper
> 
> From: Steve Shih <[email protected]>
> 
> 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]>
> ---
>  drivers/net/ethernet/intel/e1000e/ethtool.c | 11 +++++++++--
>  1 file changed, 9 insertions(+), 2 deletions(-)

Tested-by: Aaron Brown <[email protected]>

Reply via email to