ralink: fix tx vlan offload and hardware status
authorJohn Crispin <john@openwrt.org>
Wed, 19 Nov 2014 09:19:57 +0000 (09:19 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 19 Nov 2014 09:19:57 +0000 (09:19 +0000)
commite1f6d0dd0ae64b242b73db4d3646d25a059b5ed2
tree85921c2c91ea84e796846dd923b7e02418929597
parenta5f562993e695ff422b5ee95ce14312792fc8d23
ralink: fix tx vlan offload and hardware status

hardware status and tx vlan offload support on all targets
except rt5350. so i modify the IS_ENABLE condition only for
mt7621.
support mt7621 hardware status reference by SDK. but i don't
have mt7621. if not work just set mt7621 FE_REG_FE_COUNTER_BASE
to 0 to let software count.

Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 43303
target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.c
target/linux/ramips/files/drivers/net/ethernet/ralink/soc_mt7620.c