aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files-4.14/drivers/net
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-02-13 15:58:48 +0100
committerJo-Philipp Wich <jo@mein.io>2018-02-14 16:43:30 +0100
commitdc7a1e855513d415ac0837b34400b98052c2090c (patch)
treec3bcd407f434afd7241a76481d73b5bc8948a4f9 /target/linux/ramips/files-4.14/drivers/net
parent341b1427fc247fd4c53f390f2f17258dcf052a50 (diff)
downloadupstream-dc7a1e855513d415ac0837b34400b98052c2090c.tar.gz
upstream-dc7a1e855513d415ac0837b34400b98052c2090c.tar.bz2
upstream-dc7a1e855513d415ac0837b34400b98052c2090c.zip
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>
Diffstat (limited to 'target/linux/ramips/files-4.14/drivers/net')
0 files changed, 0 insertions, 0 deletions