ar71xx: fix TL-MR3220-v2 switch port order
authorPaul Wassi <p.wassi@gmx.at>
Fri, 4 Jan 2019 21:38:17 +0000 (22:38 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Thu, 14 Feb 2019 15:56:14 +0000 (16:56 +0100)
Fix the switch port order for proper display on high
level interfaces.

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
target/linux/ar71xx/base-files/etc/board.d/02_network

index b761c7c9201587e6431a2c4dbdc380558860abda..13dfd2b000c56222d8b4ae2485085e2d01c16eb1 100755 (executable)
@@ -41,7 +41,6 @@ ar71xx_setup_interfaces()
        tew-712br|\
        tew-732br|\
        tl-mr3220|\
-       tl-mr3220-v2|\
        tl-mr3420|\
        tl-wdr3320-v2|\
        tl-wdr3500|\
@@ -520,6 +519,7 @@ ar71xx_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "9@eth0"
                ;;
+       tl-mr3220-v2|\
        tl-wr741nd-v4)
                ucidef_set_interfaces_lan_wan "eth0.1" "eth1"
                ucidef_add_switch "switch0" \