diff options
Diffstat (limited to 'drivers/net/typhoon.c')
-rw-r--r-- | drivers/net/typhoon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/typhoon.c b/drivers/net/typhoon.c index 3af9a9516ccb..dcff5ade6d08 100644 --- a/drivers/net/typhoon.c +++ b/drivers/net/typhoon.c | |||
@@ -1783,7 +1783,7 @@ typhoon_poll(struct napi_struct *napi, int budget) | |||
1783 | } | 1783 | } |
1784 | 1784 | ||
1785 | if (work_done < budget) { | 1785 | if (work_done < budget) { |
1786 | netif_rx_complete(napi); | 1786 | napi_complete(napi); |
1787 | iowrite32(TYPHOON_INTR_NONE, | 1787 | iowrite32(TYPHOON_INTR_NONE, |
1788 | tp->ioaddr + TYPHOON_REG_INTR_MASK); | 1788 | tp->ioaddr + TYPHOON_REG_INTR_MASK); |
1789 | typhoon_post_pci_writes(tp->ioaddr); | 1789 | typhoon_post_pci_writes(tp->ioaddr); |
@@ -1806,10 +1806,10 @@ typhoon_interrupt(int irq, void *dev_instance) | |||
1806 | 1806 | ||
1807 | iowrite32(intr_status, ioaddr + TYPHOON_REG_INTR_STATUS); | 1807 | iowrite32(intr_status, ioaddr + TYPHOON_REG_INTR_STATUS); |
1808 | 1808 | ||
1809 | if (netif_rx_schedule_prep(&tp->napi)) { | 1809 | if (napi_schedule_prep(&tp->napi)) { |
1810 | iowrite32(TYPHOON_INTR_ALL, ioaddr + TYPHOON_REG_INTR_MASK); | 1810 | iowrite32(TYPHOON_INTR_ALL, ioaddr + TYPHOON_REG_INTR_MASK); |
1811 | typhoon_post_pci_writes(ioaddr); | 1811 | typhoon_post_pci_writes(ioaddr); |
1812 | __netif_rx_schedule(&tp->napi); | 1812 | __napi_schedule(&tp->napi); |
1813 | } else { | 1813 | } else { |
1814 | printk(KERN_ERR "%s: Error, poll already scheduled\n", | 1814 | printk(KERN_ERR "%s: Error, poll already scheduled\n", |
1815 | dev->name); | 1815 | dev->name); |