diff options
Diffstat (limited to 'drivers/net/bnx2x_link.c')
-rw-r--r-- | drivers/net/bnx2x_link.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/bnx2x_link.c b/drivers/net/bnx2x_link.c index 41b9b7bd3d8e..cf5778919b4b 100644 --- a/drivers/net/bnx2x_link.c +++ b/drivers/net/bnx2x_link.c | |||
@@ -4717,8 +4717,8 @@ static u8 bnx2x_ext_phy_is_link_up(struct link_params *params, | |||
4717 | 0xc809, &val1); | 4717 | 0xc809, &val1); |
4718 | 4718 | ||
4719 | DP(NETIF_MSG_LINK, "8705 1.c809 val=0x%x\n", val1); | 4719 | DP(NETIF_MSG_LINK, "8705 1.c809 val=0x%x\n", val1); |
4720 | ext_phy_link_up = ((rx_sd & 0x1) && (val1 & (1<<9)) | 4720 | ext_phy_link_up = ((rx_sd & 0x1) && (val1 & (1<<9)) && |
4721 | && ((val1 & (1<<8)) == 0)); | 4721 | ((val1 & (1<<8)) == 0)); |
4722 | if (ext_phy_link_up) | 4722 | if (ext_phy_link_up) |
4723 | vars->line_speed = SPEED_10000; | 4723 | vars->line_speed = SPEED_10000; |
4724 | break; | 4724 | break; |