diff options
Diffstat (limited to 'drivers/net/forcedeth.c')
-rw-r--r-- | drivers/net/forcedeth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/forcedeth.c b/drivers/net/forcedeth.c index 2d5f7d42e92a..a7c15715cd83 100644 --- a/drivers/net/forcedeth.c +++ b/drivers/net/forcedeth.c | |||
@@ -3708,13 +3708,13 @@ static irqreturn_t nv_nic_irq_rx(int foo, void *data) | |||
3708 | u32 events; | 3708 | u32 events; |
3709 | 3709 | ||
3710 | events = readl(base + NvRegMSIXIrqStatus) & NVREG_IRQ_RX_ALL; | 3710 | events = readl(base + NvRegMSIXIrqStatus) & NVREG_IRQ_RX_ALL; |
3711 | writel(NVREG_IRQ_RX_ALL, base + NvRegMSIXIrqStatus); | ||
3712 | 3711 | ||
3713 | if (events) { | 3712 | if (events) { |
3714 | napi_schedule(&np->napi); | ||
3715 | /* disable receive interrupts on the nic */ | 3713 | /* disable receive interrupts on the nic */ |
3716 | writel(NVREG_IRQ_RX_ALL, base + NvRegIrqMask); | 3714 | writel(NVREG_IRQ_RX_ALL, base + NvRegIrqMask); |
3717 | pci_push(base); | 3715 | pci_push(base); |
3716 | writel(NVREG_IRQ_RX_ALL, base + NvRegMSIXIrqStatus); | ||
3717 | napi_schedule(&np->napi); | ||
3718 | } | 3718 | } |
3719 | return IRQ_HANDLED; | 3719 | return IRQ_HANDLED; |
3720 | } | 3720 | } |