bnx2x: disable FCoE for 578xx devices since not yet supported
authorDmitry Kravkov <dmitry@broadcom.com>
Tue, 19 Jul 2011 01:46:11 +0000 (01:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jul 2011 16:57:49 +0000 (09:57 -0700)
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_main.c

index e4dea114d04a445c46de50dfc7fb1f98eb7631e2..28ef7faf4480d1d5aed5a2c984c52e8fd17e5272 100644 (file)
@@ -10575,8 +10575,8 @@ static int __devinit bnx2x_init_one(struct pci_dev *pdev,
        bp->qm_cid_count = bnx2x_set_qm_cid_count(bp);
 
 #ifdef BCM_CNIC
-       /* disable FCOE L2 queue for E1x*/
-       if (CHIP_IS_E1x(bp))
+       /* disable FCOE L2 queue for E1x and E3*/
+       if (CHIP_IS_E1x(bp) || CHIP_IS_E3(bp))
                bp->flags |= NO_FCOE_FLAG;
 
 #endif