igb: bring link up when PHY is powered up

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>
This commit is contained in:
Todd Fujinaka 2014-06-17 06:58:11 +00:00 committed by Jeff Kirsher
parent 67b807e834
commit aec653c43b
1 changed files with 2 additions and 0 deletions

View File

@ -1630,6 +1630,8 @@ void igb_power_up_link(struct igb_adapter *adapter)
igb_power_up_phy_copper(&adapter->hw); igb_power_up_phy_copper(&adapter->hw);
else else
igb_power_up_serdes_link_82575(&adapter->hw); igb_power_up_serdes_link_82575(&adapter->hw);
igb_setup_link(&adapter->hw);
} }
/** /**