diff options
author | Thibaut VARENE <hacks@slashdirt.org> | 2017-07-25 12:29:14 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-07-25 21:02:53 +0200 |
commit | 4faf3149331e80db1e9a7425ad02e3c54492cea5 (patch) | |
tree | 43ed277e62d5e99f9b7d5851675460361fce747d /target | |
parent | ecfca0eda2436f01ebd6ddf0847c112ec44764c3 (diff) | |
download | upstream-4faf3149331e80db1e9a7425ad02e3c54492cea5.tar.gz upstream-4faf3149331e80db1e9a7425ad02e3c54492cea5.tar.bz2 upstream-4faf3149331e80db1e9a7425ad02e3c54492cea5.zip |
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@slashdirt.org>
Diffstat (limited to 'target')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 5 |
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 5cc711949f..2d8a90cd3e 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@eth0" ;; + dir-860l-b1) + ucidef_add_switch "switch0" \ + "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "0:wan" "6@eth0" + ;; gl-mt300n-v2) ucidef_add_switch "switch0" \ "1:lan" "0:wan" "6@eth0" |