]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/korina.c
Staging: SLICOSS: free resources on entry_probe error path
[linux-2.6-omap-h63xx.git] / drivers / net / korina.c
index 75010cac76ac7e63e4f046322dcd21ec1525c278..38d6649a29c42a491139b2cb882d3a68421c0fc3 100644 (file)
@@ -334,7 +334,7 @@ static irqreturn_t korina_rx_dma_interrupt(int irq, void *dev_id)
                                DMA_STAT_HALT | DMA_STAT_ERR),
                                &lp->rx_dma_regs->dmasm);
 
-               netif_rx_schedule(&lp->napi);
+               napi_schedule(&lp->napi);
 
                if (dmas & DMA_STAT_ERR)
                        printk(KERN_ERR DRV_NAME "%s: DMA error\n", dev->name);
@@ -468,7 +468,7 @@ static int korina_poll(struct napi_struct *napi, int budget)
 
        work_done = korina_rx(dev, budget);
        if (work_done < budget) {
-               netif_rx_complete(napi);
+               napi_complete(napi);
 
                writel(readl(&lp->rx_dma_regs->dmasm) &
                        ~(DMA_STAT_DONE | DMA_STAT_HALT | DMA_STAT_ERR),