diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-12-20 11:41:20 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-12-20 11:41:20 +0000 |
commit | 1f01aeabb0c6486e966e92b4c4361a12529c7181 (patch) | |
tree | 46dd4234b9cfe352718c2ce25356f71249a3c2c1 /target/linux/ar71xx/files/drivers/leds | |
parent | 60f7a8a3575c1ce8d2a159cb91dfb4a9d1f3edc4 (diff) | |
download | master-187ad058-1f01aeabb0c6486e966e92b4c4361a12529c7181.tar.gz master-187ad058-1f01aeabb0c6486e966e92b4c4361a12529c7181.tar.bz2 master-187ad058-1f01aeabb0c6486e966e92b4c4361a12529c7181.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39147 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/drivers/leds')
0 files changed, 0 insertions, 0 deletions