aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x
diff options
context:
space:
mode:
authorDmitry Kravkov <dmitry@broadcom.com>2011-05-22 06:09:19 -0400
committerDavid S. Miller <davem@davemloft.net>2011-05-22 21:01:23 -0400
commit5e374b5aeb9a030c1859b3054e3b36dea3b29cfc (patch)
tree8ba2d86caa9e7683786731259c6b403de9261bd3 /drivers/net/bnx2x
parentc3a8ce6145cfcfce192513187000cd723313d94f (diff)
bnx2x: fix DMAE timeout according to hw specifications
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>
Diffstat (limited to 'drivers/net/bnx2x')
-rw-r--r--drivers/net/bnx2x/bnx2x_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x/bnx2x_main.c b/drivers/net/bnx2x/bnx2x_main.c
index fb23d575d633..f7abebfa0f5d 100644
--- a/drivers/net/bnx2x/bnx2x_main.c
+++ b/drivers/net/bnx2x/bnx2x_main.c
@@ -571,7 +571,7 @@ static int bnx2x_issue_dmae_with_comp(struct bnx2x *bp,
571 struct dmae_command *dmae) 571 struct dmae_command *dmae)
572{ 572{
573 u32 *wb_comp = bnx2x_sp(bp, wb_comp); 573 u32 *wb_comp = bnx2x_sp(bp, wb_comp);
574 int cnt = CHIP_REV_IS_SLOW(bp) ? (400000) : 40; 574 int cnt = CHIP_REV_IS_SLOW(bp) ? (400000) : 4000;
575 int rc = 0; 575 int rc = 0;
576 576
577 DP(BNX2X_MSG_OFF, "data before [0x%08x 0x%08x 0x%08x 0x%08x]\n", 577 DP(BNX2X_MSG_OFF, "data before [0x%08x 0x%08x 0x%08x 0x%08x]\n",