openwrtv3/target/linux/ar71xx/files/drivers/net
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
..
dsa ar71xx: add preliminary support for 3.3 2012-02-10 11:53:56 +00:00
ethernet/atheros/ag71xx ar71xx: ag71xx: calculate max frame len register value from the MTU 2013-12-20 11:41:20 +00:00