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>
This commit is contained in:
parent
6e4549138d
commit
3ee793f601
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ ar71xx_setup_interfaces()
|
||||||
wpn824n)
|
wpn824n)
|
||||||
ucidef_set_interfaces_lan_wan "eth1.1" "eth0"
|
ucidef_set_interfaces_lan_wan "eth1.1" "eth0"
|
||||||
ucidef_add_switch "switch0" \
|
ucidef_add_switch "switch0" \
|
||||||
"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "4@eth1"
|
"0@eth1" "1:lan:1" "2:lan:2" "3:lan:3" "4:lan:4"
|
||||||
;;
|
;;
|
||||||
dir-825-b1|\
|
dir-825-b1|\
|
||||||
nbg460n_550n_550nh|\
|
nbg460n_550n_550nh|\
|
||||||
|
|
Loading…
Reference in a new issue