aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/nand/base-files
diff options
context:
space:
mode:
authorGraham Cole <diakka@gmail.com>2022-02-19 21:45:01 -0500
committerSungbo Eo <mans0n@gorani.run>2022-02-20 13:54:12 +0900
commite282e50d44910956d145950e62b75d4fc9a5e20d (patch)
tree35f6713238d47ddfc22116b0bf9fcbc2fb896342 /target/linux/ath79/nand/base-files
parent125b9aec2929f38511c69f41a9e51c6d81055325 (diff)
downloadupstream-e282e50d44910956d145950e62b75d4fc9a5e20d.tar.gz
upstream-e282e50d44910956d145950e62b75d4fc9a5e20d.tar.bz2
upstream-e282e50d44910956d145950e62b75d4fc9a5e20d.zip
ath79: fix wndr4500v3 lan port order to match case
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>
Diffstat (limited to 'target/linux/ath79/nand/base-files')
-rw-r--r--target/linux/ath79/nand/base-files/etc/board.d/02_network7
1 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/ath79/nand/base-files/etc/board.d/02_network b/target/linux/ath79/nand/base-files/etc/board.d/02_network
index 2c85245bee..e26a5e4ddf 100644
--- a/target/linux/ath79/nand/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/nand/base-files/etc/board.d/02_network
@@ -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"