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 | 35d601f974050feb5463a171ab90940c0ebe8ac9 (patch) | |
tree | 0ef43836f05dea6067314e9abf9eb0611dacd9a7 /target/linux/ar71xx/files/drivers/spi | |
parent | 9e7d77de2de40cd6783b0db84b8554012fe3c85b (diff) | |
download | master-31e0f0ae-35d601f974050feb5463a171ab90940c0ebe8ac9.tar.gz master-31e0f0ae-35d601f974050feb5463a171ab90940c0ebe8ac9.tar.bz2 master-31e0f0ae-35d601f974050feb5463a171ab90940c0ebe8ac9.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>
SVN-Revision: 39147
Diffstat (limited to 'target/linux/ar71xx/files/drivers/spi')
0 files changed, 0 insertions, 0 deletions