aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Kemper <sebastian_ml@gmx.net>2019-01-20 09:13:24 +0100
committerJo-Philipp Wich <jo@mein.io>2019-01-22 09:05:59 +0100
commit69dfdda157e86c4aabbae9e51ecf76911f833af2 (patch)
tree37f9601615fb01ec40542a126e6456688fce69df
parent39ede7bc67bbb54ae1645fba9f6b7a2bcc9b8c0f (diff)
downloadupstream-69dfdda157e86c4aabbae9e51ecf76911f833af2.tar.gz
upstream-69dfdda157e86c4aabbae9e51ecf76911f833af2.tar.bz2
upstream-69dfdda157e86c4aabbae9e51ecf76911f833af2.zip
ath79: fix port order for dir 825-c1 and 835-a1
LAN ports 1 and 4 and 2 and 3 are interchanged. Fix this in 02_network so the ports show up in the correct order in luci. The correct ucidef_add_switch line is already present. This commit moves the blocks around to keep alphabetical order. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/02_network22
1 files changed, 11 insertions, 11 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network
index 3eb0e413f3..1569b110bd 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -72,13 +72,10 @@ ath79_setup_interfaces()
;;
dlink,dir-825-c1|\
dlink,dir-835-a1|\
- iodata,etg3-r|\
- iodata,wn-ac1167dgr|\
- iodata,wn-ac1600dgr2|\
- iodata,wn-ag300dgr|\
- pcs,cr5000)
+ dlink,dir-859-a1|\
+ tplink,tl-wr1043nd-v4)
ucidef_add_switch "switch0" \
- "0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan"
+ "0@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5:wan"
;;
elecom,wrc-1750ghbk2-i|\
elecom,wrc-300ghbk2-i)
@@ -108,6 +105,14 @@ ath79_setup_interfaces()
ucidef_add_switch "switch0" \
"0@eth0" "2:lan:2" "3:lan:1" "1:wan"
;;
+ iodata,etg3-r|\
+ iodata,wn-ac1167dgr|\
+ iodata,wn-ac1600dgr2|\
+ iodata,wn-ag300dgr|\
+ pcs,cr5000)
+ ucidef_add_switch "switch0" \
+ "0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan"
+ ;;
nec,wg800hp)
ucidef_add_switch "switch0" \
"0@eth0" "2:lan" "3:lan" "4:lan" "1:wan"
@@ -172,11 +177,6 @@ ath79_setup_interfaces()
ucidef_add_switch "switch0" \
"0@eth1" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5:wan" "6@eth0"
;;
- dlink,dir-859-a1|\
- tplink,tl-wr1043nd-v4)
- ucidef_add_switch "switch0" \
- "0@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5:wan"
- ;;
tplink,tl-wr2543-v1)
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "9@eth0"