diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/enic/vnic_rq.c | 4 | ||||
-rw-r--r-- | drivers/net/enic/vnic_wq.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/enic/vnic_rq.c b/drivers/net/enic/vnic_rq.c index 75583978a5e..7bcd9037348 100644 --- a/drivers/net/enic/vnic_rq.c +++ b/drivers/net/enic/vnic_rq.c | |||
@@ -167,10 +167,10 @@ int vnic_rq_disable(struct vnic_rq *rq) | |||
167 | iowrite32(0, &rq->ctrl->enable); | 167 | iowrite32(0, &rq->ctrl->enable); |
168 | 168 | ||
169 | /* Wait for HW to ACK disable request */ | 169 | /* Wait for HW to ACK disable request */ |
170 | for (wait = 0; wait < 100; wait++) { | 170 | for (wait = 0; wait < 1000; wait++) { |
171 | if (!(ioread32(&rq->ctrl->running))) | 171 | if (!(ioread32(&rq->ctrl->running))) |
172 | return 0; | 172 | return 0; |
173 | udelay(1); | 173 | udelay(10); |
174 | } | 174 | } |
175 | 175 | ||
176 | printk(KERN_ERR "Failed to disable RQ[%d]\n", rq->index); | 176 | printk(KERN_ERR "Failed to disable RQ[%d]\n", rq->index); |
diff --git a/drivers/net/enic/vnic_wq.c b/drivers/net/enic/vnic_wq.c index d2e00e51b7b..44fc3234d58 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); |