Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193620
b: refs/heads/master
c: b6d24eb
h: refs/heads/master
v: v3
  • Loading branch information
Vasanthy Kolluri authored and David S. Miller committed Mar 19, 2010
1 parent 084caf7 commit b475677
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: a55a603dae47a1ea4fbfad3a3a428ea7a0900ab6
refs/heads/master: b6d24eb663cdf4af9c08b37ad2e31056c5eb2561
4 changes: 2 additions & 2 deletions trunk/drivers/net/enic/vnic_rq.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,10 @@ int vnic_rq_disable(struct vnic_rq *rq)
iowrite32(0, &rq->ctrl->enable);

/* Wait for HW to ACK disable request */
for (wait = 0; wait < 100; wait++) {
for (wait = 0; wait < 1000; wait++) {
if (!(ioread32(&rq->ctrl->running)))
return 0;
udelay(1);
udelay(10);
}

printk(KERN_ERR "Failed to disable RQ[%d]\n", rq->index);
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/enic/vnic_wq.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,10 @@ int vnic_wq_disable(struct vnic_wq *wq)
iowrite32(0, &wq->ctrl->enable);

/* Wait for HW to ACK disable request */
for (wait = 0; wait < 100; wait++) {
for (wait = 0; wait < 1000; wait++) {
if (!(ioread32(&wq->ctrl->running)))
return 0;
udelay(1);
udelay(10);
}

printk(KERN_ERR "Failed to disable WQ[%d]\n", wq->index);
Expand Down

0 comments on commit b475677

Please sign in to comment.