mirror of https://gitee.com/openkylin/linux.git
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:
parent
67b807e834
commit
aec653c43b
|
@ -1630,6 +1630,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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue