aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x.h
diff options
context:
space:
mode:
authorVladislav Zolotarov <vladz@broadcom.com>2010-04-18 21:13:33 -0400
committerDavid S. Miller <davem@davemloft.net>2010-04-19 16:17:07 -0400
commit02e3c6cb3f09ac10a1f16d16cf31c8ecaafd2c67 (patch)
tree563a25c47df8930f8c29e4041b0f1894d63e9018 /drivers/net/bnx2x.h
parent34f24c7fc095a2d884e634ff430ab0da6f2a0669 (diff)
bnx2x: Increase DMAE max write size for 57711
Increase DMAE max write size for 57711 to the maximum allowed value. Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x.h')
-rw-r--r--drivers/net/bnx2x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h
index 694c8cd59e09..150bd08ed5be 100644
--- a/drivers/net/bnx2x.h
+++ b/drivers/net/bnx2x.h
@@ -1168,7 +1168,7 @@ static inline u32 reg_poll(struct bnx2x *bp, u32 reg, u32 expected, int ms,
1168#define DMAE_CMD_E1HVN_SHIFT DMAE_COMMAND_E1HVN_SHIFT 1168#define DMAE_CMD_E1HVN_SHIFT DMAE_COMMAND_E1HVN_SHIFT
1169 1169
1170#define DMAE_LEN32_RD_MAX 0x80 1170#define DMAE_LEN32_RD_MAX 0x80
1171#define DMAE_LEN32_WR_MAX 0x400 1171#define DMAE_LEN32_WR_MAX(bp) (CHIP_IS_E1(bp) ? 0x400 : 0x2000)
1172 1172
1173#define DMAE_COMP_VAL 0xe0d0d0ae 1173#define DMAE_COMP_VAL 0xe0d0d0ae
1174 1174