projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6debea8
)
bnx2x: fix MB index for 4-port devices
author
Dmitry Kravkov
<dmitry@broadcom.com>
Tue, 19 Jul 2011 01:42:40 +0000
(
01:42
+0000)
committer
David 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.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/bnx2x/bnx2x.h
b/drivers/net/bnx2x/bnx2x.h
index 333f5d6c6b81d2b850e5609c875e5e2a50b208e9..4b255e5f8f164b065f9a780f6521f80874950650 100644
(file)
--- a/
drivers/net/bnx2x/bnx2x.h
+++ b/
drivers/net/bnx2x/bnx2x.h
@@
-1104,7
+1104,7
@@
struct bnx2x {
#define BP_VN(bp) (BP_E1HVN(bp)) /*remove when approved*/
#define BP_L_ID(bp) (BP_E1HVN(bp) << 2)
#define BP_FW_MB_IDX(bp) (BP_PORT(bp) +\
-
BP_VN(bp) * (CHIP_IS_E1x(bp
) ? 2 : 1))
+
BP_VN(bp) * ((CHIP_IS_E1x(bp) || (CHIP_MODE_IS_4_PORT(bp))
) ? 2 : 1))
struct net_device *dev;
struct pci_dev *pdev;