Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 818f3331 authored by Bruce Allan's avatar Bruce Allan Committed by David S. Miller
Browse files

e1000e: do not initiate autonegotiation during OEM configuration



When configuring the OEM bits in the PHY on 82577/82578, do not restart
autonegotiation if the firmware is blocking it (e.g. when an IDE-R session
is active) because the link must not go down.

Signed-off-by: default avatarBruce Allan <bruce.w.allan@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 189983d4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1118,6 +1118,7 @@ static s32 e1000_oem_bits_config_ich8lan(struct e1000_hw *hw, bool d0_state)
			oem_reg |= HV_OEM_BITS_LPLU;
	}
	/* Restart auto-neg to activate the bits */
	if (!e1000_check_reset_block(hw))
		oem_reg |= HV_OEM_BITS_RESTART_AN;
	ret_val = hw->phy.ops.write_phy_reg_locked(hw, HV_OEM_BITS, oem_reg);