diff options
Diffstat (limited to 'target/linux/generic-2.6/files/drivers/net/phy/ar8216.c')
-rw-r--r-- | target/linux/generic-2.6/files/drivers/net/phy/ar8216.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/files/drivers/net/phy/ar8216.c b/target/linux/generic-2.6/files/drivers/net/phy/ar8216.c index f629058ae0..4354be9b0c 100644 --- a/target/linux/generic-2.6/files/drivers/net/phy/ar8216.c +++ b/target/linux/generic-2.6/files/drivers/net/phy/ar8216.c @@ -488,6 +488,10 @@ ar8216_reset_switch(struct switch_dev *dev) } /* XXX: undocumented magic from atheros, required! */ priv->write(priv, 0x38, 0xc000050e); + + ar8216_rmw(priv, AR8216_REG_GLOBAL_CTRL, + AR8216_GCTRL_MTU, 1518 + 8 + 2); + return ar8216_hw_apply(dev); } |