openwrtv4/target/linux
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
..
adm5120 kernel: remove obsolete yaffs options from target configs 2013-12-16 07:51:21 +00:00
adm8668 targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
amazon target: don't build jffs2 nor images by default 2013-06-05 20:58:59 +00:00
ar7 kernel: update kernel 3.10 to 3.10.24 2013-12-15 19:16:30 +00:00
ar71xx ar71xx: ag71xx: calculate max frame len register value from the MTU 2013-12-20 11:41:20 +00:00
at91 at91: fix typo in network file 2013-11-17 17:14:32 +00:00
atheros kernel: update 3.10 to 3.10.17 2013-10-23 12:51:05 +00:00
au1000 au1000: make sysupgrade compatible with all file system types 2013-11-07 12:46:16 +00:00
avr32 kernel: update kernel 3.10 to 3.10.24 2013-12-15 19:16:30 +00:00
bcm53xx kernel: update kernel 3.10 to 3.10.24 2013-12-15 19:16:30 +00:00
brcm47xx brcm47xx: deactivate early printk support 2013-12-15 19:19:16 +00:00
brcm63xx kernel: update kernel 3.10 to 3.10.24 2013-12-15 19:16:30 +00:00
brcm2708 kernel: update kernel 3.10 to 3.10.24 2013-12-15 19:16:30 +00:00
cns3xxx add uImage image build 2013-11-10 09:57:07 +00:00
cns21xx kernel: update kernel 3.10 to 3.10.24 2013-12-15 19:16:30 +00:00
cobalt cobalt: do not build userland with support for mips1 2013-10-13 22:10:57 +00:00
ep93xx ep93xx: fix kmod-input-keyboard-ep93xx dependencies 2013-10-01 22:39:28 +00:00
gemini build: unify arm target cflags 2013-09-26 17:53:20 +00:00
generic kernel: backport upstream inet fix 2013-12-19 02:03:25 +00:00
imx6 imx6: refresh patches 2013-12-19 02:03:26 +00:00
iop32x targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
ixp4xx kernel: update kernel 3.10 to 3.10.24 2013-12-15 19:16:30 +00:00
kirkwood kernel: update kernel 3.10 to 3.10.24 2013-12-15 19:16:30 +00:00
lantiq kernel: update kernel 3.10 to 3.10.24 2013-12-15 19:16:30 +00:00
malta kernel: update kernel 3.10 to 3.10.24 2013-12-15 19:16:30 +00:00
mcs814x build: unify arm target cflags 2013-09-26 17:53:20 +00:00
mpc52xx build: unify powerpc target cflags 2013-09-26 17:53:28 +00:00
mpc83xx kernel: remove obsolete yaffs options from target configs 2013-12-16 07:51:21 +00:00
mpc85xx kernel: update kernel 3.10 to 3.10.24 2013-12-15 19:16:30 +00:00
mvebu kernel: update kernel 3.10 to 3.10.24 2013-12-15 19:16:30 +00:00
mxs upgrade 3.12 targets to 3.12.5 2013-12-14 17:37:14 +00:00
octeon kernel: update kernel 3.10 to 3.10.24 2013-12-15 19:16:30 +00:00
omap don't fail if there are no dtbs 2013-12-20 05:50:24 +00:00
omap24xx build: unify arm target cflags 2013-09-26 17:53:20 +00:00
orion build: unify arm target cflags 2013-09-26 17:53:20 +00:00
ppc40x kernel: update kernel 3.10 to 3.10.24 2013-12-15 19:16:30 +00:00
ppc44x kernel: update kernel 3.10 to 3.10.24 2013-12-15 19:16:30 +00:00
pxa targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
ramips ralink: fix dir810 networking 2013-12-16 10:16:33 +00:00
rb532 kernel: remove obsolete yaffs options from target configs 2013-12-16 07:51:21 +00:00
realview kernel: update kernel 3.10 to 3.10.24 2013-12-15 19:16:30 +00:00
sibyte build: unify mips target cflags 2013-09-26 17:53:14 +00:00
sparc kernel: update kernel 3.10 to 3.10.24 2013-12-15 19:16:30 +00:00
sunxi upgrade 3.12 targets to 3.12.5 2013-12-14 17:37:14 +00:00
uml uml: work around mangled parameter handling for ubd 2013-09-24 13:36:42 +00:00
x86 kernel: update kernel 3.10 to 3.10.24 2013-12-15 19:16:30 +00:00
xburst kernel: update kernel 3.10 to 3.10.24 2013-12-15 19:16:30 +00:00
Makefile