ramips: fix switch ports mapping for newifi d2
authorZheng Qian <sotux82@gmail.com>
Thu, 8 Nov 2018 10:16:36 +0000 (18:16 +0800)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:48:17 +0000 (17:48 +0100)
Signed-off-by: Zheng Qian <sotux82@gmail.com>
(backported from 48a7a2a75da56466a5cced758876ca6355b0fe38)

target/linux/ramips/base-files/etc/board.d/02_network

index 043607df5bb1d3d338c0ddf8740ad012484b42ba..862eae1d4a5ab32c14d97dc41b6ac21bea16b367 100755 (executable)
@@ -32,6 +32,7 @@ ramips_setup_interfaces()
 
        case $board in
        11acnas|\
+       d-team,newifi-d2|\
        w2914nsv2|\
        zbt-we2026)
                ucidef_add_switch "switch0" \
@@ -103,7 +104,6 @@ ramips_setup_interfaces()
        mt7628|\
        mzk-750dhp|\
        mzk-w300nh2|\
-       d-team,newifi-d2|\
        netgear,r6120|\
        nixcore-x1-8M|\
        nixcore-x1-16M|\