openwrtv3/target/linux/ar71xx
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
..
base-files ar71xx: add userspace support for WD My Net N750 2013-12-16 07:16:43 +00:00
files ar71xx: ag71xx: calculate max frame len register value from the MTU 2013-12-20 11:41:20 +00:00
generic ar71xx: enable images for WD My Net N750 2013-12-17 22:14:13 +00:00
image ar71xx: enable images for WD My Net N750 2013-12-17 22:14:13 +00:00
mikrotik ar71xx: add initial support for the Mikrotik RB911G/RB912UAG boards 2013-12-16 18:08:51 +00:00
nand ar71xx: move WNDR4300 profile to the nand subtarget 2013-11-04 18:37:09 +00:00
patches-3.10 ar71xx: add missing tx gain table flag for buffalo wzr-hp-g450h 2013-12-19 17:18:12 +00:00
base-files.mk ar71xx: drop procd_init console hack 2013-06-21 16:53:11 +00:00
config-3.10 ar71xx: add initial support for the Mikrotik RB911G/RB912UAG boards 2013-12-16 18:08:51 +00:00
Makefile kernel: update kernel 3.10 to 3.10.24 2013-12-15 19:16:30 +00:00
modules.mk ar71xx: always enable hw ecc support for the ar934x-nfc module 2013-11-01 18:33:18 +00:00