diff options
author | João Chaínho <joaochainho@gmail.com> | 2017-08-31 16:45:39 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-08-31 19:14:52 +0200 |
commit | 61027e343025b5f47e7e79db71576e6bd5e97c1d (patch) | |
tree | f9f9310357942916a28a200b84dc9ae1259505af | |
parent | f7528ed0a8586434e18e9007b1bf0d05a18d6418 (diff) | |
download | upstream-61027e343025b5f47e7e79db71576e6bd5e97c1d.tar.gz upstream-61027e343025b5f47e7e79db71576e6bd5e97c1d.tar.bz2 upstream-61027e343025b5f47e7e79db71576e6bd5e97c1d.zip |
ar71xx: fix switch port numbering on RB750r2 and RB750UPr2
This patch fixes the switch port numbering on Mikrotik RB750r2 (hEX lite) and RB750UPr2 (hEX PoE lite).
Tested on a RB750UPr2. Maybe this patch is applicable to other devices (e.g. RB951Ui-2nD, RB952Ui-5ac2nD) but I have no way to test them.
Signed-off-by: João Chaínho <joaochainho@gmail.com>
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/02_network | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index 5889b2bf80..ba54d89b8f 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -147,8 +147,6 @@ ar71xx_setup_interfaces() om2p-hsv4|\ pb42|\ pb44|\ - rb-750-r2|\ - rb-750up-r2|\ rb-951ui-2hnd|\ rb-951ui-2nd|\ rb-952ui-5ac2nd|\ @@ -160,6 +158,12 @@ ar71xx_setup_interfaces() wrtnode2q) ucidef_set_interfaces_lan_wan "eth1" "eth0" ;; + rb-750-r2|\ + rb-750up-r2) + ucidef_set_interfaces_lan_wan "eth1.1" "eth0" + ucidef_add_switch "switch0" \ + "0@eth1" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" + ;; all0258n|\ all0315n|\ dlan-hotspot|\ |