ramips: fix switch port order for HuaWei HG255D
authorDavid Yang <mmyangfl@gmail.com>
Fri, 26 Oct 2018 09:21:58 +0000 (17:21 +0800)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:48:19 +0000 (17:48 +0100)
The order of port marks and LEDs is reversed according to the board.

Signed-off-by: David Yang <mmyangfl@gmail.com>
(backported from 824b580079622e8e98b2fda18926f8f2b67a2c22)

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

index ff8a0db6f325aa4f070a239b93c66dc047b5f387..0d8855c32489cbcd7b5938c3c3519fbba18799bd 100755 (executable)
@@ -206,7 +206,6 @@ ramips_setup_interfaces()
        gl-mt300a|\
        gl-mt300n|\
        gl-mt750|\
-       hg255d|\
        hiwifi,hc5861b|\
        jhr-n805r|\
        jhr-n825r|\
@@ -245,6 +244,7 @@ ramips_setup_interfaces()
        elecom,wrc-1167ghbk2-s|\
        elecom,wrc-2533gst|\
        elecom,wrc-1900gst|\
+       hg255d|\
        iodata,wn-ax1167gr|\
        iodata,wn-gx300gr)
                ucidef_add_switch "switch0" \