aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7621/base-files
diff options
context:
space:
mode:
authorMartin Schiller <ms@dev.tdt.de>2019-12-04 10:43:02 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-08 00:20:21 +0100
commit3a55c7935d4efdc86575601cb4aa7bc94e3c5e44 (patch)
treee1ab168cf212e681c7c2750edf4ac45d51ef0c5b /target/linux/ramips/mt7621/base-files
parenta065cd29bf2dfd1ce1f07becd65aef96cec658e7 (diff)
downloadupstream-3a55c7935d4efdc86575601cb4aa7bc94e3c5e44.tar.gz
upstream-3a55c7935d4efdc86575601cb4aa7bc94e3c5e44.tar.bz2
upstream-3a55c7935d4efdc86575601cb4aa7bc94e3c5e44.zip
ramips: fix number of LAN Ports for Mikrotik RBM33G
The Mikrotik RBM33G has only 2 LAN ports. Signed-off-by: Martin Schiller <ms@dev.tdt.de> [moved node in 02_network to maintain alphabetic sorting] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/mt7621/base-files')
-rwxr-xr-xtarget/linux/ramips/mt7621/base-files/etc/board.d/02_network5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
index 420780a101..bb6e41e06f 100755
--- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
@@ -57,7 +57,6 @@ ramips_setup_interfaces()
;;
asus,rt-ac57u|\
mikrotik,rb750gr3|\
- mikrotik,rbm33g|\
ubiquiti,edgerouterx|\
ubiquiti,edgerouterx-sfp|\
youhua,wr1200js)
@@ -112,6 +111,10 @@ ramips_setup_interfaces()
ucidef_add_switch_attr "switch0" "enable" "false"
ucidef_set_interface_lan "eth0"
;;
+ mikrotik,rbm33g)
+ ucidef_add_switch "switch0" \
+ "1:lan" "2:lan" "0:wan" "6@eth0"
+ ;;
netgear,ex6150|\
tplink,re350-v1|\
tplink,re650-v1)