aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7620/base-files
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-06-09 12:01:43 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-06-11 10:21:17 +0200
commitefde716d14a9f5f5abe3bd8d5a2974651ec02d88 (patch)
treebc84b29766ab7775e39fa59504017ccfed03e2ae /target/linux/ramips/mt7620/base-files
parentce33ef997cfeb7b77300227a6ffab9936ea51940 (diff)
downloadupstream-efde716d14a9f5f5abe3bd8d5a2974651ec02d88.tar.gz
upstream-efde716d14a9f5f5abe3bd8d5a2974651ec02d88.tar.bz2
upstream-efde716d14a9f5f5abe3bd8d5a2974651ec02d88.zip
ramips: fix port display for D-Link DIR-810L
The port order displayed in LuCI is currently inverted for this devices: LuCI - Device LAN1 - LAN4 LAN2 - LAN3 LAN3 - LAN2 LAN4 - LAN1 Fix it. Strangely, the owner of a TRENDnet TEW-810DR reports that the initial port order is correct, while both devices share the same board and look similar from the outside. Since I cannot investigate this without having any of the devices, this does only touch the DIR-810L for now. While at it, also merge in the case for zbtlink,zbt-we2026, as the display port specified for WAN there won't have any effect anyway. Reported-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/mt7620/base-files')
-rwxr-xr-xtarget/linux/ramips/mt7620/base-files/etc/board.d/02_network10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
index 46ed857cdc..c70e4ff8e4 100755
--- a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
@@ -12,7 +12,6 @@ ramips_setup_interfaces()
aigale,ai-br100|\
alfa-network,ac1200rm|\
asus,rt-n12p|\
- dlink,dir-810l|\
dlink,dwr-116-a1|\
dlink,dwr-921-c1|\
dlink,dwr-922-e2|\
@@ -109,6 +108,11 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"0:lan" "6@eth0"
;;
+ dlink,dir-810l|\
+ zbtlink,zbt-we2026)
+ ucidef_add_switch "switch0" \
+ "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "4:wan" "6@eth0"
+ ;;
dlink,dwr-118-a1)
ucidef_add_switch "switch0" \
"1:lan:2" "2:lan:3" "3:lan:1" "4:lan:0" "5:wan" "6@eth0"
@@ -214,10 +218,6 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"0:lan" "6t@eth0"
;;
- zbtlink,zbt-we2026)
- ucidef_add_switch "switch0" \
- "0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "4:wan:5" "6@eth0"
- ;;
zyxel,keenetic-viva)
ucidef_add_switch "switch1" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "7t@eth0"