openwrtv4/target/linux/ramips/files-4.9/drivers/net/ethernet/mtk
Jo-Philipp Wich dc7a1e8555 ramips: fix reporting effective VLAN ID on MT7621 switches
On MT7621, the REG_ESW_VLAN_VTIM reads are undefined, causing swconfig
to always report `vid: 0` in swconfig show output.

Since a 4K VLAN table is used on this platform, the VLAN ID always
correponds to the actual VLAN table index so provide a specific MT7621
implementation of the get_vid callback which returns the table index
as VLAN ID.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-02-14 16:43:30 +01:00
..
esw_rt3050.c ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
esw_rt3050.h ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
ethtool.c ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
ethtool.h ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
gsw_mt7620.c ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
gsw_mt7620.h ramips: add jumbo frame support for v4.9 2017-06-01 12:30:17 +02:00
gsw_mt7621.c ramips: add jumbo frame support for v4.9 2017-06-01 12:30:17 +02:00
Kconfig ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
Makefile ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
mdio.c ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
mdio.h ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
mdio_mt7620.c ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
mdio_rt2880.c ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
mdio_rt2880.h ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
mt7530.c ramips: fix reporting effective VLAN ID on MT7621 switches 2018-02-14 16:43:30 +01:00
mt7530.h ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
mtk_eth_soc.c ramips: use napi_alloc_frag and skb_free_frag 2018-02-05 10:16:26 +01:00
mtk_eth_soc.h ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
soc_mt7620.c ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
soc_mt7621.c ramips: add jumbo frame support for v4.9 2017-06-01 12:30:17 +02:00
soc_rt2880.c ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
soc_rt3050.c ramips: add v4.9 support 2017-02-14 12:17:52 +01:00
soc_rt3883.c ramips: add v4.9 support 2017-02-14 12:17:52 +01:00