Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150729
b: refs/heads/master
c: 365da87
h: refs/heads/master
i:
  150727: c584d22
v: v3
  • Loading branch information
Ron Mercer authored and David S. Miller committed Jun 8, 2009
1 parent 87cb195 commit dc7a044
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d2ba498668cb9f18677dd150b23f754953dc1fda
refs/heads/master: 365da8722d9df54efb8212bf82a87d816c522845
4 changes: 2 additions & 2 deletions trunk/drivers/net/qlge/qlge_mpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ static int ql_get_mb_sts(struct ql_adapter *qdev, struct mbox_params *mbcp)
*/
static int ql_wait_mbx_cmd_cmplt(struct ql_adapter *qdev)
{
int count = 50; /* TODO: arbitrary for now. */
int count = 100;
u32 value;

do {
value = ql_read32(qdev, STS);
if (value & STS_PI)
return 0;
udelay(UDELAY_DELAY); /* 10us */
mdelay(UDELAY_DELAY); /* 100ms */
} while (--count);
return -ETIMEDOUT;
}
Expand Down

0 comments on commit dc7a044

Please sign in to comment.