ixgbe: Update setup PHY link to unset all speeds
authorDon Skidmore <donald.c.skidmore@intel.com>
Sat, 22 Oct 2016 01:10:54 +0000 (21:10 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 5 Nov 2016 00:04:58 +0000 (17:04 -0700)
commitd2e455a8884dcf5549ef67fcc2714ac0a64b9dc8
tree228da8fe88d9adeeb039d12bb91fba2d1462883e
parent805cedd663549bfc74dbbc5dca73810df0589396
ixgbe: Update setup PHY link to unset all speeds

This patch updates ixgbe_setup_phy_link_generic to set/unset
auto-negotiation for all speeds. This ensures that unsupported
speeds are unset. This is necessary since the PHY NVM may
advertise unsupported speeds.

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c