]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/tulip/tulip.h
[NET]: Make NAPI polling independent of struct net_device objects.
[net-next-2.6.git] / drivers / net / tulip / tulip.h
index 16f26a8364f074c7c5e5b8c33c333b1e123a6ed5..5a4d7270973eafdd7ec2b825a8d469b0d211800d 100644 (file)
@@ -353,6 +353,7 @@ struct tulip_private {
        int chip_id;
        int revision;
        int flags;
+       struct napi_struct napi;
        struct net_device_stats stats;
        struct timer_list timer;        /* Media selection timer. */
        struct timer_list oom_timer;    /* Out of memory timer. */
@@ -429,7 +430,7 @@ extern int tulip_rx_copybreak;
 irqreturn_t tulip_interrupt(int irq, void *dev_instance);
 int tulip_refill_rx(struct net_device *dev);
 #ifdef CONFIG_TULIP_NAPI
-int tulip_poll(struct net_device *dev, int *budget);
+int tulip_poll(struct napi_struct *napi, int budget);
 #endif