Commit d68caec6 authored by Alexander Duyck's avatar Alexander Duyck Committed by David S. Miller

igb: do not force pcs link when in KX mode

We were forcing the PCS link up in error when we are in KX mode.  We should
only be disabling autoneg, not forcing the link up.
Signed-off-by: default avatarAlexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 286d47ba
...@@ -1096,9 +1096,7 @@ static s32 igb_setup_serdes_link_82575(struct e1000_hw *hw) ...@@ -1096,9 +1096,7 @@ static s32 igb_setup_serdes_link_82575(struct e1000_hw *hw)
hw_dbg("Configuring Autoneg:PCS_LCTL=0x%08X\n", reg); hw_dbg("Configuring Autoneg:PCS_LCTL=0x%08X\n", reg);
} else { } else {
/* Set PCS register for forced link */ /* Set PCS register for forced link */
reg |= E1000_PCS_LCTL_FSD | /* Force Speed */ reg |= E1000_PCS_LCTL_FSD; /* Force Speed */
E1000_PCS_LCTL_FORCE_LINK | /* Force Link */
E1000_PCS_LCTL_FLV_LINK_UP; /* Force link value up */
hw_dbg("Configuring Forced Link:PCS_LCTL=0x%08X\n", reg); hw_dbg("Configuring Forced Link:PCS_LCTL=0x%08X\n", reg);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment