openwrtv3/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx
Gabor Juhos 9be1e508f9 ar71xx: ag71xx: store descriptor packet length mask in ag71xx struct
The currently used bitmask is not correct for all SoCs.
Introduce a new field in struct ag71xx and store the
bitmask in that. Use the current value for now, it will
be adjusted for each SoCs in further patches.

Aslo use the new field directly in the ag71xx_rx_packets
and ag71xx_hard_start_xmit() functions and remove the
ag71xx_desc_pktlen() helper.

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

SVN-Revision: 39144
2013-12-20 11:41:16 +00:00
..
ag71xx.h ar71xx: ag71xx: store descriptor packet length mask in ag71xx struct 2013-12-20 11:41:16 +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
ag71xx_debugfs.c ag71xx: ag71xx: use device name for debugfs entry 2013-12-17 15:12:50 +00:00
ag71xx_ethtool.c
ag71xx_main.c ar71xx: ag71xx: store descriptor packet length mask in ag71xx struct 2013-12-20 11:41:16 +00:00
ag71xx_mdio.c ar71xx: implement callback in mdio reset 2013-12-17 22:14:10 +00:00
ag71xx_phy.c ar71xx: ag71xx: fix a race involving netdev registration 2013-11-08 08:17:54 +00:00
Kconfig
Makefile