bnx2x: Add missing VFs reference in macros
authorYuval Mintz <yuvalmin@broadcom.com>
Wed, 23 Jan 2013 03:21:47 +0000 (03:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Jan 2013 18:58:28 +0000 (13:58 -0500)
Add missing 57712_VF and 57800_VF to CHIP_IS_E2 and CHIP_IS_E3
macros (missing from commit 8395be5).

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@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.h

index 9e8c37d007a4cc1a91a7edfb98bbeb2b71771f21..0532e439ee46f6b6aa310e6411428c62b9a49ef0 100644 (file)
@@ -843,9 +843,11 @@ struct bnx2x_common {
 #define CHIP_IS_E1H(bp)                        (CHIP_IS_57711(bp) || \
                                         CHIP_IS_57711E(bp))
 #define CHIP_IS_E2(bp)                 (CHIP_IS_57712(bp) || \
-                                        CHIP_IS_57712_MF(bp))
+                                        CHIP_IS_57712_MF(bp) || \
+                                        CHIP_IS_57712_VF(bp))
 #define CHIP_IS_E3(bp)                 (CHIP_IS_57800(bp) || \
                                         CHIP_IS_57800_MF(bp) || \
+                                        CHIP_IS_57800_VF(bp) || \
                                         CHIP_IS_57810(bp) || \
                                         CHIP_IS_57810_MF(bp) || \
                                         CHIP_IS_57810_VF(bp) || \