diff options
author | Yaniv Rosner <yanivr@broadcom.com> | 2012-04-03 21:29:02 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-04 18:24:23 -0400 |
commit | f93fb01628c00d1f26e8b45d2f10b8feb650dd4b (patch) | |
tree | 3eacd1856117c333964cd618981c3515e0e6e625 /drivers/net/ethernet/broadcom | |
parent | 99bf7f34368aac9b54dfa8801ae490a2326704f9 (diff) |
bnx2x: Fix BCM57711+BCM84823 link issue
Fix a link problem on the second port of BCM57711 + BCM84823 boards due to
incorrect macro usage.
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/ethernet/broadcom')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c index ce95ef71f96f..7e41682bc2dd 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | |||
@@ -10177,7 +10177,7 @@ static void bnx2x_848x3_link_reset(struct bnx2x_phy *phy, | |||
10177 | u8 port; | 10177 | u8 port; |
10178 | u16 val16; | 10178 | u16 val16; |
10179 | 10179 | ||
10180 | if (!(CHIP_IS_E1(bp))) | 10180 | if (!(CHIP_IS_E1x(bp))) |
10181 | port = BP_PATH(bp); | 10181 | port = BP_PATH(bp); |
10182 | else | 10182 | else |
10183 | port = params->port; | 10183 | port = params->port; |
@@ -10204,7 +10204,7 @@ static void bnx2x_848xx_set_link_led(struct bnx2x_phy *phy, | |||
10204 | u16 val; | 10204 | u16 val; |
10205 | u8 port; | 10205 | u8 port; |
10206 | 10206 | ||
10207 | if (!(CHIP_IS_E1(bp))) | 10207 | if (!(CHIP_IS_E1x(bp))) |
10208 | port = BP_PATH(bp); | 10208 | port = BP_PATH(bp); |
10209 | else | 10209 | else |
10210 | port = params->port; | 10210 | port = params->port; |