ar71xx: allow to use large ethernet frames on AR934x SoCs
authorGabor Juhos <juhosg@openwrt.org>
Fri, 20 Dec 2013 11:41:23 +0000 (11:41 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 20 Dec 2013 11:41:23 +0000 (11:41 +0000)
commitaa7f693d306c842fb0165b31b7687bde1b98ff14
tree53dc2a98e8b0197bd9c1881621344da9f0ccede3
parent397e584bfb4b01b1bbc6d2f8cba4d82a8ddf4657
ar71xx: allow to use large ethernet frames on AR934x SoCs

The hardware supports large ethernet frames. Override
the maximum frame length and packet lenght mask in the
platform data to allow to use large MTU on the ethernet
interfaces.

Limit the feature to AR934x SoCs for now. It should work
on some other SoCs as well, but those has not been tested
yet.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39149 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c