]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/tehuti.c
ath5k: Disable BMISS interrupts
[linux-2.6-omap-h63xx.git] / drivers / net / tehuti.c
index a7a4dc4d6313c1403794435a14b99a83f8029505..be9f38f8f0bfae3173d452e48df8b4db2f747bb6 100644 (file)
@@ -265,8 +265,8 @@ static irqreturn_t bdx_isr_napi(int irq, void *dev)
                bdx_isr_extra(priv, isr);
 
        if (isr & (IR_RX_DESC_0 | IR_TX_FREE_0)) {
-               if (likely(netif_rx_schedule_prep(&priv->napi))) {
-                       __netif_rx_schedule(&priv->napi);
+               if (likely(napi_schedule_prep(&priv->napi))) {
+                       __napi_schedule(&priv->napi);
                        RET(IRQ_HANDLED);
                } else {
                        /* NOTE: we get here if intr has slipped into window
@@ -302,7 +302,7 @@ static int bdx_poll(struct napi_struct *napi, int budget)
                 * device lock and allow waiting tasks (eg rmmod) to advance) */
                priv->napi_stop = 0;
 
-               netif_rx_complete(napi);
+               napi_complete(napi);
                bdx_enable_interrupts(priv);
        }
        return work_done;