From d08a63770c69a6e4a3014246c74245ab41795e3e Mon Sep 17 00:00:00 2001 From: Martin Schiller Date: Wed, 4 Dec 2019 10:43:02 +0100 Subject: [PATCH] ramips: fix number of LAN Ports for Mikrotik RBM33G The Mikrotik RBM33G has only 2 LAN ports. Signed-off-by: Martin Schiller [moved node in 02_network to maintain alphabetic sorting; backport] Signed-off-by: Adrian Schmutzler (cherry picked from commit 3a55c7935d4efdc86575601cb4aa7bc94e3c5e44) --- 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 d94b705cfe..4a58f61b92 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -198,7 +198,6 @@ ramips_setup_interfaces() jhr-n805r|\ jhr-n825r|\ jhr-n926r|\ - mikrotik,rbm33g|\ mzk-wdpr|\ rb750gr3|\ rt-n14u|\ @@ -221,6 +220,10 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "6@eth0" ;; + mikrotik,rbm33g) + ucidef_add_switch "switch0" \ + "1:lan" "2:lan" "0:wan" "6@eth0" + ;; c20i|\ c50|\ tplink,c20-v1) -- 2.30.2