ath79: fix wndr4500v3 lan port order to match case
authorGraham Cole <diakka@gmail.com>
Sun, 20 Feb 2022 02:45:01 +0000 (21:45 -0500)
committerSungbo Eo <mans0n@gorani.run>
Sun, 20 Feb 2022 04:54:12 +0000 (13:54 +0900)
The LED and LAN port numbering on the case of wndr4500v3 devices are
reversed relative to the wndr4300v2. I created this patch to so that the
ordering in OpenWRT will be consistent with that.

Signed-off-by: Graham Cole <diakka@gmail.com>
target/linux/ath79/nand/base-files/etc/board.d/02_network

index 2c85245bee2f2974ee9da84a705b5c7f329f824c..e26a5e4ddf2c2b1d618faad4cb452d9fa1f48ff1 100644 (file)
@@ -33,11 +33,14 @@ ath79_setup_interfaces()
        netgear,wndr3700-v4|\
        netgear,wndr4300|\
        netgear,wndr4300sw|\
-       netgear,wndr4300-v2|\
-       netgear,wndr4500-v3)
+       netgear,wndr4300-v2)
                ucidef_add_switch "switch0" \
                        "0@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5:wan"
                ;;
+       netgear,wndr4500-v3)
+               ucidef_add_switch "switch0" \
+                       "0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan"
+               ;;
        netgear,wndr4300tn)
                ucidef_add_switch "switch0" \
                        "0@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"