bnx2x: Remove AutoGrEEEn for BCM84833
authorYaniv Rosner <yanivr@broadcom.com>
Tue, 17 Jan 2012 02:33:28 +0000 (02:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jan 2012 15:44:43 +0000 (10:44 -0500)
Disable the autoGrEEEn feature for BCM84833.

Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c

index 1d1a8093e62e71d057c278cc8bcdbc9247ee7248..a6c48d61081a5fe8345a66d41f59da1f5d7c80b2 100644 (file)
@@ -9814,12 +9814,8 @@ static int bnx2x_848x3_config_init(struct bnx2x_phy *phy,
        if (phy->type == PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM84833) {
                bnx2x_84833_pair_swap_cfg(phy, params, vars);
 
-               /* AutogrEEEn */
-               if (params->feature_config_flags &
-                       FEATURE_CONFIG_AUTOGREEEN_ENABLED)
-                       cmd_args[0] = 0x2;
-               else
-                       cmd_args[0] = 0x0;
+               /* Keep AutogrEEEn disabled. */
+               cmd_args[0] = 0x0;
                cmd_args[1] = 0x0;
                cmd_args[2] = PHY84833_CONSTANT_LATENCY + 1;
                cmd_args[3] = PHY84833_CONSTANT_LATENCY;