summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Fujinaka <todd.fujinaka@intel.com>2014-06-17 06:58:11 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-12-16 09:34:28 -0800
commit7d4a6dae27501820b234c81dc178901cddfceeda (patch)
tree8bd8b1d11b2262a8357212a3246663e2edad85c2
parent3e06c8fdf30ebd0060dff15d4e50122d5d637620 (diff)
downloadkernel-common-7d4a6dae27501820b234c81dc178901cddfceeda.tar.gz
kernel-common-7d4a6dae27501820b234c81dc178901cddfceeda.tar.bz2
kernel-common-7d4a6dae27501820b234c81dc178901cddfceeda.zip
igb: bring link up when PHY is powered up
commit aec653c43b0c55667355e26d7de1236bda9fb4e3 upstream. Call igb_setup_link() when the PHY is powered up. Signed-off-by: Todd Fujinaka <todd.fujinaka@intel.com> Reported-by: Jeff Westfahl <jeff.westfahl@ni.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Cc: Vincent Donnefort <vdonnefort@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/net/ethernet/intel/igb/igb_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c
index 5ca8c479666e..206e79d29c79 100644
--- a/drivers/net/ethernet/intel/igb/igb_main.c
+++ b/drivers/net/ethernet/intel/igb/igb_main.c
@@ -1613,6 +1613,8 @@ void igb_power_up_link(struct igb_adapter *adapter)
igb_power_up_phy_copper(&adapter->hw);
else
igb_power_up_serdes_link_82575(&adapter->hw);
+
+ igb_setup_link(&adapter->hw);
}
/**