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 51d7ab6a02761dd9e0754f316b6d8bef70f64622..6e7d5c0843b4c4bd825b0cd505b489011fd748bd 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;