]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/gianfar.h
leds: Add support for hardware accelerated LED flashing
[linux-2.6-omap-h63xx.git] / drivers / net / gianfar.h
index d8e779c102faf3becd6c281cab68cee44f8ea9b6..46cd7735e6fe39f1671b80a0df321217ffb603f7 100644 (file)
@@ -45,7 +45,6 @@
 #include <linux/crc32.h>
 #include <linux/workqueue.h>
 #include <linux/ethtool.h>
-#include <linux/netdevice.h>
 #include <linux/fsl_devices.h>
 #include "gianfar_mii.h"
 
@@ -691,6 +690,9 @@ struct gfar_private {
        /* RX Locked fields */
        spinlock_t rxlock;
 
+       struct net_device *dev;
+       struct napi_struct napi;
+
        /* skb array and index */
        struct sk_buff ** rx_skbuff;
        u16 skb_currx;
@@ -747,7 +749,6 @@ struct gfar_private {
        uint32_t msg_enable;
 
        /* Network Statistics */
-       struct net_device_stats stats;
        struct gfar_extra_stats extra_stats;
 };