net/ixgbe/base: fix setting unsupported autoneg speeds
authorWei Dai <wei.dai@intel.com>
Wed, 21 Dec 2016 09:47:58 +0000 (17:47 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:40:51 +0000 (19:40 +0100)
commit222c65194151bd68803adb311635e078323f7e0a
treebd1ab97a7dea3963e00398b6bf7edc5e74a2169d
parent2ac6248ae432f166f0e94f6b9ced200a7f708c76
net/ixgbe/base: fix setting unsupported autoneg speeds

Update ixgbe_setup_phy_link_generic that set/unset auto-negotiation.
Ensure that unsupported auto-negotiation speeds are unset.

This is necessary since the PHY NVM may advertise unsupported speeds.

Fixes: af75078fece3 ("first public release")

Signed-off-by: Wei Dai <wei.dai@intel.com>
drivers/net/ixgbe/base/ixgbe_phy.c