openwrtv3/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx
Gabor Juhos 31de995025 ar71xx: ag71xx: compute the RX buffer size from the maximum frame size
Currently, the AG71XX_RX_PKT_SIZE value limits the received
frame size to 1514/1516 bytes with/without a VLAN header
respectively. However the hardware limit is controlled by
the value the AG71XX_REG_MAC_MFL register which contains
the value of the max_frame_len field.

Compute the RX buffer size from the max_frame_len field
to get rid of the 1514/1516 byte limitation. Also remove
the unused AG71XX_RX_PKT_SIZE definition.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39121
2013-12-17 16:27:46 +00:00
..
ag71xx.h ar71xx: ag71xx: compute the RX buffer size from the maximum frame size 2013-12-17 16:27:46 +00:00
ag71xx_ar7240.c ar71xx: ag71xx: use mdio bus name in ar7240_probe messages 2013-12-17 15:12:52 +00:00
ag71xx_ar8216.c ar71xx: merge files-3.2 to files 2012-02-10 08:19:31 +00:00
ag71xx_debugfs.c ag71xx: ag71xx: use device name for debugfs entry 2013-12-17 15:12:50 +00:00
ag71xx_ethtool.c ar71xx: merge files-3.2 to files 2012-02-10 08:19:31 +00:00
ag71xx_main.c ar71xx: ag71xx: compute the RX buffer size from the maximum frame size 2013-12-17 16:27:46 +00:00
ag71xx_mdio.c ar71xx: remove __dev{init,exit} annotations from kernel files 2013-02-19 20:52:06 +00:00
ag71xx_phy.c ar71xx: ag71xx: fix a race involving netdev registration 2013-11-08 08:17:54 +00:00
Kconfig ar71xx: merge files-3.2 to files 2012-02-10 08:19:31 +00:00
Makefile ar71xx: merge files-3.2 to files 2012-02-10 08:19:31 +00:00