summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-12-17 16:27:46 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-12-17 16:27:46 +0000
commit31de995025ff8d59e9588f2eb04485168a5e355f (patch)
tree2a8be0b6029a3a7c1e38040eb0c802d2b8199bf6 /package
parentb35e0da0f4272bc5f07e8b35325c2a7a91d4d14b (diff)
downloadmaster-31e0f0ae-31de995025ff8d59e9588f2eb04485168a5e355f.tar.gz
master-31e0f0ae-31de995025ff8d59e9588f2eb04485168a5e355f.tar.bz2
master-31e0f0ae-31de995025ff8d59e9588f2eb04485168a5e355f.zip
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
Diffstat (limited to 'package')
0 files changed, 0 insertions, 0 deletions