  		netif_wake_queue(dev);
  }
  
-@@ -1062,8 +1061,7 @@
+@@ -1062,8 +1013,7 @@
  {
  	struct net_device *dev = dev_id;
  	struct at91_priv *priv = netdev_priv(dev);

 	}
 
 	return received;
@@ -769,57 +799,26 @@
 	}
 }
 
-static int at91_poll_err(struct net_device *dev, int quota, u32 reg_sr)
-{
-	struct sk_buff *skb;

-
-	if (reg_sr & get_irq_mb_rx(priv))
-		work_done += at91_poll_rx(dev, quota - work_done);
+    struct net_device *dev = napi->dev;
+    const struct at91_priv *priv = netdev_priv(dev);
+    int work_done = 0;
