aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-12-07 06:43:02 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-12-07 06:43:02 +0000
commitec8e8d2a58710e2a48e1805ce24bfefa088cbeb3 (patch)
tree0a1d734fbaa1dd8103bea26114aa47c5ef7e51cd /target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h
parentf79e670927bb655c01d32f59d1c202048b7724e3 (diff)
downloadupstream-ec8e8d2a58710e2a48e1805ce24bfefa088cbeb3.tar.gz
upstream-ec8e8d2a58710e2a48e1805ce24bfefa088cbeb3.tar.bz2
upstream-ec8e8d2a58710e2a48e1805ce24bfefa088cbeb3.zip
[ar71xx] ag71xx driver: handle TX timout
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13537 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h')
-rw-r--r--target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h
index 7e3da8178e..d5f7743d4c 100644
--- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h
+++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h
@@ -28,6 +28,7 @@
#include <linux/phy.h>
#include <linux/skbuff.h>
#include <linux/dma-mapping.h>
+#include <linux/workqueue.h>
#include <linux/bitops.h>
@@ -37,7 +38,7 @@
#define ETH_FCS_LEN 4
#define AG71XX_DRV_NAME "ag71xx"
-#define AG71XX_DRV_VERSION "0.5.10"
+#define AG71XX_DRV_VERSION "0.5.11"
#define AG71XX_NAPI_WEIGHT 64
@@ -124,6 +125,8 @@ struct ag71xx {
unsigned int link;
unsigned int speed;
int duplex;
+
+ struct work_struct restart_work;
};
extern struct ethtool_ops ag71xx_ethtool_ops;