diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-12-08 13:15:12 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-12-08 13:15:12 +0000 |
commit | df84ce6c3a2f713403d8cc3cb679d4619302464c (patch) | |
tree | 69638c986402d48360dc2e7d6380403774cd7bee /target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h | |
parent | e348e3753c7992b14dcfd710370030a20cf90c1e (diff) | |
download | master-187ad058-df84ce6c3a2f713403d8cc3cb679d4619302464c.tar.gz master-187ad058-df84ce6c3a2f713403d8cc3cb679d4619302464c.tar.bz2 master-187ad058-df84ce6c3a2f713403d8cc3cb679d4619302464c.zip |
[ar71xx] ag71xx driver: add OOM handler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13545 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.h | 4 |
1 files changed, 3 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 80c8e18ab1..36b6073aa3 100644 --- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h +++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h @@ -38,9 +38,10 @@ #define ETH_FCS_LEN 4 #define AG71XX_DRV_NAME "ag71xx" -#define AG71XX_DRV_VERSION "0.5.12" +#define AG71XX_DRV_VERSION "0.5.13" #define AG71XX_NAPI_WEIGHT 64 +#define AG71XX_OOM_REFILL (1 + HZ/10) #define AG71XX_INT_ERR (AG71XX_INT_RX_BE | AG71XX_INT_TX_BE) #define AG71XX_INT_TX (AG71XX_INT_TX_PS) @@ -127,6 +128,7 @@ struct ag71xx { int duplex; struct work_struct restart_work; + struct timer_list oom_timer; }; extern struct ethtool_ops ag71xx_ethtool_ops; |