diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2009-03-02 03:01:02 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-03 01:32:45 -0500 |
commit | 8660d8c3abd988d1601b78046733450cc3554a35 (patch) | |
tree | c3c0fa9cc9165ca7a61f3f10d7313ebe8e17b188 /drivers/net/bnx2x_link.c | |
parent | 9223dea6c75f3cb77ca644d84cb152525e6e329d (diff) |
bnx2x: Loopback support at external PHY
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/bnx2x_link.c')
-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); |