From: Wenzhuo Lu Date: Wed, 24 Jun 2015 03:26:19 +0000 (+0800) Subject: ixgbe/base: remove FEC disablement for X550em X-Git-Tag: spdx-start~8945 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5a9c0187086140cd945bdf338bf2925139eb1a38;p=dpdk.git ixgbe/base: remove FEC disablement for X550em This patch removes the clearing of the FEC(Forward Error Correction) bits in ixgbe_setup_kr_speed_x550em. FEC default enablement is configured via the NVM and SW should not be overriding these defaults in this function. Signed-off-by: Wenzhuo Lu Acked-by: Helin Zhang --- diff --git a/drivers/net/ixgbe/base/ixgbe_x550.c b/drivers/net/ixgbe/base/ixgbe_x550.c index 5d65c60098..8d8a5bf5e7 100644 --- a/drivers/net/ixgbe/base/ixgbe_x550.c +++ b/drivers/net/ixgbe/base/ixgbe_x550.c @@ -1438,8 +1438,6 @@ STATIC s32 ixgbe_setup_kr_speed_x550em(struct ixgbe_hw *hw, return status; reg_val |= IXGBE_KRM_LINK_CTRL_1_TETH_AN_ENABLE; - reg_val &= ~(IXGBE_KRM_LINK_CTRL_1_TETH_AN_FEC_REQ | - IXGBE_KRM_LINK_CTRL_1_TETH_AN_CAP_FEC); reg_val &= ~(IXGBE_KRM_LINK_CTRL_1_TETH_AN_CAP_KR | IXGBE_KRM_LINK_CTRL_1_TETH_AN_CAP_KX);