aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bnx2x')
-rw-r--r--drivers/net/bnx2x/bnx2x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x/bnx2x.h b/drivers/net/bnx2x/bnx2x.h
index 333f5d6c6b81..4b255e5f8f16 100644
--- a/drivers/net/bnx2x/bnx2x.h
+++ b/drivers/net/bnx2x/bnx2x.h
@@ -1104,7 +1104,7 @@ struct bnx2x {
1104#define BP_VN(bp) (BP_E1HVN(bp)) /*remove when approved*/ 1104#define BP_VN(bp) (BP_E1HVN(bp)) /*remove when approved*/
1105#define BP_L_ID(bp) (BP_E1HVN(bp) << 2) 1105#define BP_L_ID(bp) (BP_E1HVN(bp) << 2)
1106#define BP_FW_MB_IDX(bp) (BP_PORT(bp) +\ 1106#define BP_FW_MB_IDX(bp) (BP_PORT(bp) +\
1107 BP_VN(bp) * (CHIP_IS_E1x(bp) ? 2 : 1)) 1107 BP_VN(bp) * ((CHIP_IS_E1x(bp) || (CHIP_MODE_IS_4_PORT(bp))) ? 2 : 1))
1108 1108
1109 struct net_device *dev; 1109 struct net_device *dev;
1110 struct pci_dev *pdev; 1110 struct pci_dev *pdev;