From: Dmitry Kravkov Date: Sun, 22 May 2011 10:09:19 +0000 (+0000) Subject: bnx2x: fix DMAE timeout according to hw specifications X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=5e374b5aeb9a030c1859b3054e3b36dea3b29cfc;p=deliverable%2Flinux.git bnx2x: fix DMAE timeout according to hw specifications Signed-off-by: Dmitry Kravkov Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- 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, struct dmae_command *dmae) { u32 *wb_comp = bnx2x_sp(bp, wb_comp); - int cnt = CHIP_REV_IS_SLOW(bp) ? (400000) : 40; + int cnt = CHIP_REV_IS_SLOW(bp) ? (400000) : 4000; int rc = 0; DP(BNX2X_MSG_OFF, "data before [0x%08x 0x%08x 0x%08x 0x%08x]\n",