diff options
Diffstat (limited to 'drivers/net/pcnet32.c')
-rw-r--r-- | drivers/net/pcnet32.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/pcnet32.c b/drivers/net/pcnet32.c index 665a4286da39..80124fac65fa 100644 --- a/drivers/net/pcnet32.c +++ b/drivers/net/pcnet32.c | |||
@@ -1397,7 +1397,7 @@ static int pcnet32_poll(struct napi_struct *napi, int budget) | |||
1397 | if (work_done < budget) { | 1397 | if (work_done < budget) { |
1398 | spin_lock_irqsave(&lp->lock, flags); | 1398 | spin_lock_irqsave(&lp->lock, flags); |
1399 | 1399 | ||
1400 | __netif_rx_complete(napi); | 1400 | __napi_complete(napi); |
1401 | 1401 | ||
1402 | /* clear interrupt masks */ | 1402 | /* clear interrupt masks */ |
1403 | val = lp->a.read_csr(ioaddr, CSR3); | 1403 | val = lp->a.read_csr(ioaddr, CSR3); |
@@ -2592,14 +2592,14 @@ pcnet32_interrupt(int irq, void *dev_id) | |||
2592 | dev->name, csr0); | 2592 | dev->name, csr0); |
2593 | /* unlike for the lance, there is no restart needed */ | 2593 | /* unlike for the lance, there is no restart needed */ |
2594 | } | 2594 | } |
2595 | if (netif_rx_schedule_prep(&lp->napi)) { | 2595 | if (napi_schedule_prep(&lp->napi)) { |
2596 | u16 val; | 2596 | u16 val; |
2597 | /* set interrupt masks */ | 2597 | /* set interrupt masks */ |
2598 | val = lp->a.read_csr(ioaddr, CSR3); | 2598 | val = lp->a.read_csr(ioaddr, CSR3); |
2599 | val |= 0x5f00; | 2599 | val |= 0x5f00; |
2600 | lp->a.write_csr(ioaddr, CSR3, val); | 2600 | lp->a.write_csr(ioaddr, CSR3, val); |
2601 | mmiowb(); | 2601 | mmiowb(); |
2602 | __netif_rx_schedule(&lp->napi); | 2602 | __napi_schedule(&lp->napi); |
2603 | break; | 2603 | break; |
2604 | } | 2604 | } |
2605 | csr0 = lp->a.read_csr(ioaddr, CSR0); | 2605 | csr0 = lp->a.read_csr(ioaddr, CSR0); |