[source] ramips: DIR-860L-B1 fix switch port numbering
LEDE Commits
lede-commits at lists.infradead.org
Tue Jul 25 12:04:13 PDT 2017
mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/4faf3149331e80db1e9a7425ad02e3c54492cea5
commit 4faf3149331e80db1e9a7425ad02e3c54492cea5
Author: Thibaut VARENE <hacks at slashdirt.org>
AuthorDate: Tue Jul 25 12:29:14 2017 +0200
ramips: DIR-860L-B1 fix switch port numbering
Luci shows switch ports in inverted order on that device.
This patch fixes switch port numbering and matches them to the device
silkscreen.
Signed-off-by: Thibaut VARENE <hacks at slashdirt.org>
---
target/linux/ramips/base-files/etc/board.d/02_network | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
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 5cc7119..2d8a90c 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -157,7 +157,6 @@ ramips_setup_interfaces()
c20i|\
c50|\
dir-645|\
- dir-860l-b1|\
f5d8235-v2|\
gl-mt300a|\
gl-mt300n|\
@@ -183,6 +182,10 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "6 at eth0"
;;
+ dir-860l-b1)
+ ucidef_add_switch "switch0" \
+ "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "0:wan" "6 at eth0"
+ ;;
gl-mt300n-v2)
ucidef_add_switch "switch0" \
"1:lan" "0:wan" "6 at eth0"
More information about the lede-commits
mailing list