diff options
author | Paul Wassi <p.wassi@gmx.at> | 2019-01-04 22:37:01 +0100 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-02-14 16:56:14 +0100 |
commit | 341311f319b18b74d1d112709830979ceab11f67 (patch) | |
tree | 602ed2cb41c5f53689837469c18a4b38351dccfa /target/linux/ar71xx/base-files | |
parent | ff541c5ca255f0c7e105dc7fe717f812470e39e7 (diff) | |
download | upstream-341311f319b18b74d1d112709830979ceab11f67.tar.gz upstream-341311f319b18b74d1d112709830979ceab11f67.tar.bz2 upstream-341311f319b18b74d1d112709830979ceab11f67.zip |
ar71xx: fix TL-WR741ND-v4 switch port order
Fix the switch port order for proper display on high
level interfaces.
Signed-off-by: Paul Wassi <p.wassi@gmx.at>
Diffstat (limited to 'target/linux/ar71xx/base-files')
-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 ef83896664..b761c7c920 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -46,7 +46,6 @@ ar71xx_setup_interfaces() tl-wdr3320-v2|\ tl-wdr3500|\ tl-wr740n-v6|\ - tl-wr741nd-v4|\ tl-wr840n-v2|\ tl-wr840n-v3|\ tl-wr841n-v11|\ @@ -521,6 +520,11 @@ ar71xx_setup_interfaces() ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "9@eth0" ;; + tl-wr741nd-v4) + ucidef_set_interfaces_lan_wan "eth0.1" "eth1" + ucidef_add_switch "switch0" \ + "0@eth0" "1:lan:4" "2:lan:1" "3:lan:2" "4:lan:3" + ;; tl-wr841n-v1|\ tl-wr941nd) ucidef_set_interface "eth" ifname "eth0" |