|
@@ -2187,12 +2187,11 @@ static s32 ixgbe_setup_kx4_x550em(struct ixgbe_hw *hw)
|
|
|
/**
|
|
|
* ixgbe_setup_kr_x550em - Configure the KR PHY
|
|
|
* @hw: pointer to hardware structure
|
|
|
- *
|
|
|
- * Configures the integrated KR PHY for X550EM_x.
|
|
|
**/
|
|
|
static s32 ixgbe_setup_kr_x550em(struct ixgbe_hw *hw)
|
|
|
{
|
|
|
- if (hw->mac.type != ixgbe_mac_X550EM_x)
|
|
|
+ /* leave link alone for 2.5G */
|
|
|
+ if (hw->phy.autoneg_advertised & IXGBE_LINK_SPEED_2_5GB_FULL)
|
|
|
return 0;
|
|
|
|
|
|
return ixgbe_setup_kr_speed_x550em(hw, hw->phy.autoneg_advertised);
|