diff options
Diffstat (limited to 'drivers/net/myri10ge')
-rw-r--r-- | drivers/net/myri10ge/myri10ge.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c index 24ab8a43c777..4f3a3c0d6d08 100644 --- a/drivers/net/myri10ge/myri10ge.c +++ b/drivers/net/myri10ge/myri10ge.c | |||
@@ -1555,12 +1555,12 @@ static irqreturn_t myri10ge_intr(int irq, void *arg) | |||
1555 | * valid since MSI-X irqs are not shared */ | 1555 | * valid since MSI-X irqs are not shared */ |
1556 | if ((mgp->dev->real_num_tx_queues == 1) && (ss != mgp->ss)) { | 1556 | if ((mgp->dev->real_num_tx_queues == 1) && (ss != mgp->ss)) { |
1557 | napi_schedule(&ss->napi); | 1557 | napi_schedule(&ss->napi); |
1558 | return (IRQ_HANDLED); | 1558 | return IRQ_HANDLED; |
1559 | } | 1559 | } |
1560 | 1560 | ||
1561 | /* make sure it is our IRQ, and that the DMA has finished */ | 1561 | /* make sure it is our IRQ, and that the DMA has finished */ |
1562 | if (unlikely(!stats->valid)) | 1562 | if (unlikely(!stats->valid)) |
1563 | return (IRQ_NONE); | 1563 | return IRQ_NONE; |
1564 | 1564 | ||
1565 | /* low bit indicates receives are present, so schedule | 1565 | /* low bit indicates receives are present, so schedule |
1566 | * napi poll handler */ | 1566 | * napi poll handler */ |
@@ -1599,7 +1599,7 @@ static irqreturn_t myri10ge_intr(int irq, void *arg) | |||
1599 | myri10ge_check_statblock(mgp); | 1599 | myri10ge_check_statblock(mgp); |
1600 | 1600 | ||
1601 | put_be32(htonl(3), ss->irq_claim + 1); | 1601 | put_be32(htonl(3), ss->irq_claim + 1); |
1602 | return (IRQ_HANDLED); | 1602 | return IRQ_HANDLED; |
1603 | } | 1603 | } |
1604 | 1604 | ||
1605 | static int | 1605 | static int |