diff options
author | Yaniv Rosner <yanivr@broadcom.com> | 2013-02-27 08:06:46 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-28 15:37:30 -0500 |
commit | d521de04a73abb5e662c12eafa8c839aaaa6ae4f (patch) | |
tree | 8428c806fca622f14d269a12466d11cbf96a9901 /drivers/net | |
parent | be94bea753a4d5ac0982df07aaeaf0cb1f7554dd (diff) |
bnx2x: Fix KR2 work-around condition
Fix condition typo for running KR2 work-around though it doesn't have
real effect since the typo bits matched by chance.
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c index bf69c5306e46..31c5787970db 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | |||
@@ -13499,7 +13499,7 @@ void bnx2x_period_func(struct link_params *params, struct link_vars *vars) | |||
13499 | struct bnx2x_phy *phy = ¶ms->phy[INT_PHY]; | 13499 | struct bnx2x_phy *phy = ¶ms->phy[INT_PHY]; |
13500 | bnx2x_set_aer_mmd(params, phy); | 13500 | bnx2x_set_aer_mmd(params, phy); |
13501 | if ((phy->supported & SUPPORTED_20000baseKR2_Full) && | 13501 | if ((phy->supported & SUPPORTED_20000baseKR2_Full) && |
13502 | (phy->speed_cap_mask & SPEED_20000)) | 13502 | (phy->speed_cap_mask & PORT_HW_CFG_SPEED_CAPABILITY_D0_20G)) |
13503 | bnx2x_check_kr2_wa(params, vars, phy); | 13503 | bnx2x_check_kr2_wa(params, vars, phy); |
13504 | bnx2x_check_over_curr(params, vars); | 13504 | bnx2x_check_over_curr(params, vars); |
13505 | if (vars->rx_tx_asic_rst) | 13505 | if (vars->rx_tx_asic_rst) |