bnx2x: fix link for BCM57711 with 84823 phy
authorYuval Mintz <yuvalmin@broadcom.com>
Sat, 16 Jun 2012 20:27:15 +0000 (20:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Jun 2012 06:38:36 +0000 (23:38 -0700)
Signed-off-by: Yaniv Rosner <yaniv.rosner@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c

index 51d7ab6..6e7d5c0 100644 (file)
@@ -9754,7 +9754,7 @@ static int bnx2x_848x3_config_init(struct bnx2x_phy *phy,
 
        msleep(1);
 
-       if (!(CHIP_IS_E1(bp)))
+       if (!(CHIP_IS_E1x(bp)))
                port = BP_PATH(bp);
        else
                port = params->port;