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 | 206ccdf4ae2f236a752950a701bb3eacbdaf2cc8 (patch) | |
tree | 1567331755516b412c9ff1deea1bc43df9fc30db /target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h | |
parent | 2a680498b3ca15a05ef471365ae2845dd09ea105 (diff) | |
download | upstream-206ccdf4ae2f236a752950a701bb3eacbdaf2cc8.tar.gz upstream-206ccdf4ae2f236a752950a701bb3eacbdaf2cc8.tar.bz2 upstream-206ccdf4ae2f236a752950a701bb3eacbdaf2cc8.zip |
ag71xx driver: add OOM handler
SVN-Revision: 13545
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; |