diff options
Diffstat (limited to 'drivers/net/epic100.c')
-rw-r--r-- | drivers/net/epic100.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/epic100.c b/drivers/net/epic100.c index a539bc3163cf..b60e27dfcfa7 100644 --- a/drivers/net/epic100.c +++ b/drivers/net/epic100.c | |||
@@ -1114,9 +1114,9 @@ static irqreturn_t epic_interrupt(int irq, void *dev_instance) | |||
1114 | 1114 | ||
1115 | if ((status & EpicNapiEvent) && !ep->reschedule_in_poll) { | 1115 | if ((status & EpicNapiEvent) && !ep->reschedule_in_poll) { |
1116 | spin_lock(&ep->napi_lock); | 1116 | spin_lock(&ep->napi_lock); |
1117 | if (netif_rx_schedule_prep(&ep->napi)) { | 1117 | if (napi_schedule_prep(&ep->napi)) { |
1118 | epic_napi_irq_off(dev, ep); | 1118 | epic_napi_irq_off(dev, ep); |
1119 | __netif_rx_schedule(&ep->napi); | 1119 | __napi_schedule(&ep->napi); |
1120 | } else | 1120 | } else |
1121 | ep->reschedule_in_poll++; | 1121 | ep->reschedule_in_poll++; |
1122 | spin_unlock(&ep->napi_lock); | 1122 | spin_unlock(&ep->napi_lock); |
@@ -1293,7 +1293,7 @@ rx_action: | |||
1293 | 1293 | ||
1294 | more = ep->reschedule_in_poll; | 1294 | more = ep->reschedule_in_poll; |
1295 | if (!more) { | 1295 | if (!more) { |
1296 | __netif_rx_complete(napi); | 1296 | __napi_complete(napi); |
1297 | outl(EpicNapiEvent, ioaddr + INTSTAT); | 1297 | outl(EpicNapiEvent, ioaddr + INTSTAT); |
1298 | epic_napi_irq_on(dev, ep); | 1298 | epic_napi_irq_on(dev, ep); |
1299 | } else | 1299 | } else |