|
@@ -1857,10 +1857,6 @@ static s32 ixgbe_enter_lplu_t_x550em(struct ixgbe_hw *hw)
|
|
|
u32 save_autoneg;
|
|
|
bool link_up;
|
|
|
|
|
|
- /* SW LPLU not required on later HW revisions. */
|
|
|
- if (IXGBE_FUSES0_REV1 & IXGBE_READ_REG(hw, IXGBE_FUSES0_GROUP(0)))
|
|
|
- return 0;
|
|
|
-
|
|
|
/* If blocked by MNG FW, then don't restart AN */
|
|
|
if (ixgbe_check_reset_blocked(hw))
|
|
|
return 0;
|
|
@@ -2000,8 +1996,9 @@ static s32 ixgbe_init_phy_ops_X550em(struct ixgbe_hw *hw)
|
|
|
ixgbe_setup_internal_phy_t_x550em;
|
|
|
|
|
|
/* setup SW LPLU only for first revision */
|
|
|
- if (!(IXGBE_FUSES0_REV1 & IXGBE_READ_REG(hw,
|
|
|
- IXGBE_FUSES0_GROUP(0))))
|
|
|
+ if (hw->mac.type == ixgbe_mac_X550EM_x &&
|
|
|
+ !(IXGBE_READ_REG(hw, IXGBE_FUSES0_GROUP(0)) &
|
|
|
+ IXGBE_FUSES0_REV_MASK))
|
|
|
phy->ops.enter_lplu = ixgbe_enter_lplu_t_x550em;
|
|
|
|
|
|
phy->ops.handle_lasi = ixgbe_handle_lasi_ext_t_x550em;
|