aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorThibaut VARENE <hacks@slashdirt.org>2017-07-28 22:36:52 +0200
committerMathias Kresin <dev@kresin.me>2017-07-29 09:24:32 +0200
commit5d7e23f5ad9d8c240e8ba1989ee68cbdf1ff578f (patch)
tree1065cbc1aca10e85c0fafdc0ab9db04a002599de /target
parent0c81bc296911c72f49bf9b78a27daa47bd91f71f (diff)
downloadupstream-5d7e23f5ad9d8c240e8ba1989ee68cbdf1ff578f.tar.gz
upstream-5d7e23f5ad9d8c240e8ba1989ee68cbdf1ff578f.tar.bz2
upstream-5d7e23f5ad9d8c240e8ba1989ee68cbdf1ff578f.zip
ramips: Archer C50v1: fix switch port numbering
Luci shows switch ports in wrong order on that device. This patch fixes switch port numbering and matches them to the device silkscreen. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index cd9e08a3c2..7de6377c74 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -155,7 +155,6 @@ ramips_setup_interfaces()
awm002-evb-8M|\
awm003-evb|\
c20i|\
- c50|\
dir-645|\
f5d8235-v2|\
gl-mt300a|\
@@ -182,6 +181,10 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "6@eth0"
;;
+ c50)
+ ucidef_add_switch "switch0" \
+ "1:lan:3" "2:lan:4" "3:lan:1" "4:lan:2" "0:wan" "6@eth0"
+ ;;
dir-860l-b1)
ucidef_add_switch "switch0" \
"1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "0:wan" "6@eth0"