projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i2c: chips subdirectory is deprecated
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
net
/
gianfar.h
diff --git
a/drivers/net/gianfar.h
b/drivers/net/gianfar.h
index d8e779c102faf3becd6c281cab68cee44f8ea9b6..46cd7735e6fe39f1671b80a0df321217ffb603f7 100644
(file)
--- a/
drivers/net/gianfar.h
+++ b/
drivers/net/gianfar.h
@@
-45,7
+45,6
@@
#include <linux/crc32.h>
#include <linux/workqueue.h>
#include <linux/ethtool.h>
#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"
#include <linux/fsl_devices.h>
#include "gianfar_mii.h"
@@
-691,6
+690,9
@@
struct gfar_private {
/* RX Locked fields */
spinlock_t rxlock;
/* 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;
/* 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 */
uint32_t msg_enable;
/* Network Statistics */
- struct net_device_stats stats;
struct gfar_extra_stats extra_stats;
};
struct gfar_extra_stats extra_stats;
};