aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/enic/vnic_wq.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/enic/vnic_wq.c')
-rw-r--r--drivers/net/enic/vnic_wq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/enic/vnic_wq.c b/drivers/net/enic/vnic_wq.c
index d2e00e51b7b5..44fc3234d585 100644
--- a/drivers/net/enic/vnic_wq.c
+++ b/drivers/net/enic/vnic_wq.c
@@ -160,10 +160,10 @@ int vnic_wq_disable(struct vnic_wq *wq)
160 iowrite32(0, &wq->ctrl->enable); 160 iowrite32(0, &wq->ctrl->enable);
161 161
162 /* Wait for HW to ACK disable request */ 162 /* Wait for HW to ACK disable request */
163 for (wait = 0; wait < 100; wait++) { 163 for (wait = 0; wait < 1000; wait++) {
164 if (!(ioread32(&wq->ctrl->running))) 164 if (!(ioread32(&wq->ctrl->running)))
165 return 0; 165 return 0;
166 udelay(1); 166 udelay(10);
167 } 167 }
168 168
169 printk(KERN_ERR "Failed to disable WQ[%d]\n", wq->index); 169 printk(KERN_ERR "Failed to disable WQ[%d]\n", wq->index);