net/ixgbe/base: set default autoneg speed at reset
authorXiao Wang <xiao.w.wang@intel.com>
Sun, 25 Sep 2016 09:00:02 +0000 (17:00 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 30 Sep 2016 10:27:18 +0000 (12:27 +0200)
commitc9bc2f6d2dfe400575110b19441faced2ace0665
treee19b183c8d9c4454229d68b402df53689785ec41
parentd10c7b638c0f0957106caa2703f4150fbcf65642
net/ixgbe/base: set default autoneg speed at reset

This patch avoids the situation where we initialize an adapter but have not
yet set up phy.autoneg_advertised speeds. In that case we could end
up with having no autoneg speeds enabled and therefore get no link until we
reset the link and set the autoneg speeds correctly.

Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ixgbe/base/ixgbe_x550.c