diff options
-rw-r--r-- | drivers/net/bnx2x_link.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/bnx2x_link.c b/drivers/net/bnx2x_link.c index 3812058f7b13..ed648acef7cf 100644 --- a/drivers/net/bnx2x_link.c +++ b/drivers/net/bnx2x_link.c | |||
@@ -4624,13 +4624,13 @@ static u8 bnx2x_link_initialize(struct link_params *params, | |||
4624 | 4624 | ||
4625 | /* init ext phy and enable link state int */ | 4625 | /* init ext phy and enable link state int */ |
4626 | non_ext_phy = ((ext_phy_type == PORT_HW_CFG_XGXS_EXT_PHY_TYPE_DIRECT) || | 4626 | non_ext_phy = ((ext_phy_type == PORT_HW_CFG_XGXS_EXT_PHY_TYPE_DIRECT) || |
4627 | (params->loopback_mode == LOOPBACK_XGXS_10) || | 4627 | (params->loopback_mode == LOOPBACK_XGXS_10)); |
4628 | (params->loopback_mode == LOOPBACK_EXT_PHY)); | ||
4629 | 4628 | ||
4630 | if (non_ext_phy || | 4629 | if (non_ext_phy || |
4631 | (ext_phy_type == PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM8705) || | 4630 | (ext_phy_type == PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM8705) || |
4632 | (ext_phy_type == PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM8726) || | 4631 | (ext_phy_type == PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM8726) || |
4633 | (ext_phy_type == PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM8481)) { | 4632 | (ext_phy_type == PORT_HW_CFG_XGXS_EXT_PHY_TYPE_BCM8481) || |
4633 | (params->loopback_mode == LOOPBACK_EXT_PHY)) { | ||
4634 | if (params->req_line_speed == SPEED_AUTO_NEG) | 4634 | if (params->req_line_speed == SPEED_AUTO_NEG) |
4635 | bnx2x_set_parallel_detection(params, vars->phy_flags); | 4635 | bnx2x_set_parallel_detection(params, vars->phy_flags); |
4636 | bnx2x_init_internal_phy(params, vars); | 4636 | bnx2x_init_internal_phy(params, vars); |