ramips: add 'lwlll' portmap to mt7530 switch
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Mon, 25 Sep 2017 19:38:18 +0000 (20:38 +0100)
committerMathias Kresin <dev@kresin.me>
Thu, 28 Sep 2017 05:23:18 +0000 (07:23 +0200)
commitfd6bf05548eee0fe8d147dcfe9a92fc4856d9bc7
tree03157022a57bc94bc03ce72e03d12b832bfed27a
parent972c126eb6390f3dcc34220d42c24843ee79c375
ramips: add 'lwlll' portmap to mt7530 switch

The Xiaomi Mi Router 3G uses this deranged vlan portmap. Add support so
that packets are not leaked across all switch ports when reset.

Fix a whitespace nit while we're here.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
[fix wrong pvids order]
Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/mt7530.c