diff options
author | Qian Zheng <sotux82@gmail.com> | 2017-01-12 09:26:20 +0800 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-02-01 17:58:39 +0100 |
commit | 08801051447351ce202885fbaa48a28f22630b82 (patch) | |
tree | 6c7b651324fd546e93295db476966304fb22bfc5 /target/linux | |
parent | 2a14335d950c84566e1674f6674b0de5345d5e64 (diff) | |
download | mtk-20170518-08801051447351ce202885fbaa48a28f22630b82.zip mtk-20170518-08801051447351ce202885fbaa48a28f22630b82.tar.gz mtk-20170518-08801051447351ce202885fbaa48a28f22630b82.tar.bz2 |
ar71xx: fix tl-wr841n-v7 switch port mapping
Signed-off-by: Qian Zheng <sotux82@gmail.com>
[Jo-Philipp Wich: fix alphabetical order]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'target/linux')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/02_network | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index c916462..fe3d958 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -45,7 +45,6 @@ ar71xx_setup_interfaces() tl-wr741nd|\ tl-wr741nd-v4|\ tl-wr841n-v11|\ - tl-wr841n-v7|\ tl-wr841n-v9|\ tl-wr842n-v3|\ whr-g301n|\ @@ -397,6 +396,11 @@ ar71xx_setup_interfaces() ucidef_set_interface_raw "eth" "eth0" ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan" ;; + tl-wr841n-v7) + ucidef_set_interfaces_lan_wan "eth0" "eth1" + ucidef_add_switch "switch0" \ + "0@eth0" "1:lan:1" "2:lan:2" "3:lan:3" "4:lan:4" + ;; tl-wr842n-v2) ucidef_set_interfaces_lan_wan "eth1" "eth0" ucidef_add_switch "switch0" \ |