aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/enic/vnic_rq.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/enic/vnic_rq.c')
-rw-r--r--drivers/net/enic/vnic_rq.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/enic/vnic_rq.c b/drivers/net/enic/vnic_rq.c
index 75583978a5e5..cc580cfec41d 100644
--- a/drivers/net/enic/vnic_rq.c
+++ b/drivers/net/enic/vnic_rq.c
@@ -22,6 +22,7 @@
22#include <linux/types.h> 22#include <linux/types.h>
23#include <linux/pci.h> 23#include <linux/pci.h>
24#include <linux/delay.h> 24#include <linux/delay.h>
25#include <linux/slab.h>
25 26
26#include "vnic_dev.h" 27#include "vnic_dev.h"
27#include "vnic_rq.h" 28#include "vnic_rq.h"
@@ -167,10 +168,10 @@ int vnic_rq_disable(struct vnic_rq *rq)
167 iowrite32(0, &rq->ctrl->enable); 168 iowrite32(0, &rq->ctrl->enable);
168 169
169 /* Wait for HW to ACK disable request */ 170 /* Wait for HW to ACK disable request */
170 for (wait = 0; wait < 100; wait++) { 171 for (wait = 0; wait < 1000; wait++) {
171 if (!(ioread32(&rq->ctrl->running))) 172 if (!(ioread32(&rq->ctrl->running)))
172 return 0; 173 return 0;
173 udelay(1); 174 udelay(10);
174 } 175 }
175 176
176 printk(KERN_ERR "Failed to disable RQ[%d]\n", rq->index); 177 printk(KERN_ERR "Failed to disable RQ[%d]\n", rq->index);