openwrtv3/target/linux/ar71xx/files/drivers
Gabor Juhos 35d601f974 ar71xx: ag71xx: calculate max frame len register value from the MTU
Set the MAX_FRAME_LEN register to zero in ag71xx_hw_init()
and write the correct value into that from the ag71xx_open()
and ag71xx_fast_reset() functions.

Also recalculate the RX buffer size based on the actual
maximum frame length value to optimize memory allocation.
Additionaly, disallow to change the MTU value while the
interface it running.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39147
2013-12-20 11:41:20 +00:00
..
gpio ar71xx: remove __dev{init,exit} annotations from kernel files 2013-02-19 20:52:06 +00:00
leds ar71xx: use netgear prefix for WNDR3700 LED names 2013-09-21 15:55:50 +00:00
mtd ar71xx: add NAND driver for the Mikrotik RB91x boards 2013-12-16 12:57:24 +00:00
net ar71xx: ag71xx: calculate max frame len register value from the MTU 2013-12-20 11:41:20 +00:00
spi ar71xx: remove __dev{init,exit} annotations from kernel files 2013-02-19 20:52:06 +00:00