openwrtv3/target/linux/ar71xx/files
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
..
arch/mips ar71xx: ag71xx: get max_frame_len and desc_pktlen_mask from platform data 2013-12-20 11:41:17 +00:00
drivers ar71xx: ag71xx: calculate max frame len register value from the MTU 2013-12-20 11:41:20 +00:00
include/linux ar71xx: ar934x_nfc: add experimental support for hardware ECC 2013-09-19 18:43:41 +00:00
net/dsa ar71xx: the ar7240 dsa driver is no longer used, remove it. 2010-10-21 18:42:28 +00:00