aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-12-17 15:18:16 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-12-17 15:18:16 +0000
commit6072e777e97fc11d25f7e013855a31d9eaaf0e74 (patch)
treed3f18d3aa69972525f34c208feeb1343f8784e40 /target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h
parentea89cc9250dc5f303925d2d91cbad8bb69b9d924 (diff)
downloadupstream-6072e777e97fc11d25f7e013855a31d9eaaf0e74.tar.gz
upstream-6072e777e97fc11d25f7e013855a31d9eaaf0e74.tar.bz2
upstream-6072e777e97fc11d25f7e013855a31d9eaaf0e74.zip
ar71xx: ag71xx: store maximum frame length in the ag71xx struct
This will allow to use different values for the different SoCs. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39117
Diffstat (limited to 'target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h')
-rw-r--r--target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h
index 606c6f1c05..68d2691040 100644
--- a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h
+++ b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h
@@ -168,6 +168,8 @@ struct ag71xx {
unsigned int speed;
int duplex;
+ unsigned int max_frame_len;
+
struct work_struct restart_work;
struct delayed_work link_work;
struct timer_list oom_timer;