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
commitc4cd917a49c524c1752eff2e243f454d674c6166 (patch)
tree80bc622120ea1c57f935fdbc246a6ebc768b8c06 /target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h
parent0cc622966d1bc4a3382ab968600ec78133a267a7 (diff)
downloadupstream-c4cd917a49c524c1752eff2e243f454d674c6166.tar.gz
upstream-c4cd917a49c524c1752eff2e243f454d674c6166.tar.bz2
upstream-c4cd917a49c524c1752eff2e243f454d674c6166.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39117 3c298f89-4303-0410-b956-a3cf2f4a3e73
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;