ramips: fix switch ports mapping for newifi d2
authorZheng Qian <sotux82@gmail.com>
Thu, 8 Nov 2018 10:16:36 +0000 (18:16 +0800)
committerJohn Crispin <john@phrozen.org>
Mon, 26 Nov 2018 11:31:19 +0000 (12:31 +0100)
Signed-off-by: Zheng Qian <sotux82@gmail.com>
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|\