diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-12-07 06:43:02 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-12-07 06:43:02 +0000 |
commit | 398ff859daa5943995a4f8d0cd95920069a42455 (patch) | |
tree | 4040222e5160d575fc14b46a3766cc8c839f31df /target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h | |
parent | cd02dc5ead3eb959f6ee508df81944eedcda79b8 (diff) | |
download | mtk-20170518-398ff859daa5943995a4f8d0cd95920069a42455.zip mtk-20170518-398ff859daa5943995a4f8d0cd95920069a42455.tar.gz mtk-20170518-398ff859daa5943995a4f8d0cd95920069a42455.tar.bz2 |
ag71xx driver: handle TX timout
SVN-Revision: 13537
Diffstat (limited to 'target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h')
-rw-r--r-- | target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h | 5 |
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 7e3da81..d5f7743 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; |