ar71xx: fix vlan settings for some boards
authorWeijie Gao <hackpascal@gmail.com>
Sat, 18 Feb 2017 14:32:49 +0000 (22:32 +0800)
committerJohn Crispin <john@phrozen.org>
Mon, 20 Feb 2017 08:27:43 +0000 (09:27 +0100)
commit3ee793f6011f2364306b843de9d655a02502174d
treebf14ad0254b1d79a3dee00ac58a87a8305e7af8d
parent6e4549138d6514f4fdd1aee20dec5b6ccd25c991
ar71xx: fix vlan settings for some boards

For AR71XX devices, GMAC1 always connects port 0 of the built-in switch,
as the CPU port.

This patch sets correct vlan for some devices with wrong settings:
a) mark port 0 as CPU port, tagged
b) reverse port order, marking these ports untagged

Signed-off-by: Weijie Gao <hackpascal@gmail.com>
target/linux/ar71xx/base-files/etc/board.d/02_network