aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bnx2.c')
-rw-r--r--drivers/net/bnx2.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index 0853b3c2fbfc..fe802215214f 100644
--- a/drivers/net/bnx2.c
+++ b/drivers/net/bnx2.c
@@ -7215,10 +7215,13 @@ static void
7215poll_bnx2(struct net_device *dev) 7215poll_bnx2(struct net_device *dev)
7216{ 7216{
7217 struct bnx2 *bp = netdev_priv(dev); 7217 struct bnx2 *bp = netdev_priv(dev);
7218 int i;
7218 7219
7219 disable_irq(bp->pdev->irq); 7220 for (i = 0; i < bp->irq_nvecs; i++) {
7220 bnx2_interrupt(bp->pdev->irq, dev); 7221 disable_irq(bp->irq_tbl[i].vector);
7221 enable_irq(bp->pdev->irq); 7222 bnx2_interrupt(bp->irq_tbl[i].vector, &bp->bnx2_napi[i]);
7223 enable_irq(bp->irq_tbl[i].vector);
7224 }
7222} 7225}
7223#endif 7226#endif
7224 7227