aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-12-15 22:18:04 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-12-15 22:18:04 +0000
commit09fb8ac34c6f7bc427e83597600f91de766bd003 (patch)
treec8e416bb2f8c93e08fc03ea888558c89106ee6e1 /target/linux/generic/files
parent8ca4a0748bd358d176ef68ec27f6cba6f1848b31 (diff)
downloadupstream-09fb8ac34c6f7bc427e83597600f91de766bd003.tar.gz
upstream-09fb8ac34c6f7bc427e83597600f91de766bd003.tar.bz2
upstream-09fb8ac34c6f7bc427e83597600f91de766bd003.zip
generic: ar8216: Enable jumbo frames on AR8327 by default
This patch enables jumbo frames on AR8327 switch by default. I have tested it on TP-Link TL-WDR3600. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39076 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files')
-rw-r--r--target/linux/generic/files/drivers/net/phy/ar8216.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c b/target/linux/generic/files/drivers/net/phy/ar8216.c
index 02fa401066..952dee27ec 100644
--- a/target/linux/generic/files/drivers/net/phy/ar8216.c
+++ b/target/linux/generic/files/drivers/net/phy/ar8216.c
@@ -1230,9 +1230,9 @@ ar8327_init_globals(struct ar8xxx_priv *priv)
(AR8327_PORTS_ALL << AR8327_FWD_CTRL1_BC_FLOOD_S);
priv->write(priv, AR8327_REG_FWD_CTRL1, t);
- /* setup MTU */
+ /* enable jumbo frames */
ar8xxx_rmw(priv, AR8327_REG_MAX_FRAME_SIZE,
- AR8327_MAX_FRAME_SIZE_MTU, 1518 + 8 + 2);
+ AR8327_MAX_FRAME_SIZE_MTU, 9018 + 8 + 2);
/* Enable MIB counters */
ar8xxx_reg_set(priv, AR8327_REG_MODULE_EN,