From: Gabor Varga Date: Mon, 9 Dec 2019 22:03:58 +0000 (+0100) Subject: ramips: fix switch port numbering for RT-AC65P/RT-AC85P X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a283b1788a84e3d950e4f67fe8867f896b791116;p=openwrt%2Fstaging%2Frobimarko.git ramips: fix switch port numbering for RT-AC65P/RT-AC85P The switch LAN port numbers are in reversed order with original config. With this patch they are fixed. Port order checked on both devices. Signed-off-by: Gabor Varga [merged definitions into appropriate block, extended commit message] Signed-off-by: Adrian Schmutzler --- 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 bb6e41e06f..53a8868382 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 @@ -55,7 +55,9 @@ ramips_setup_interfaces() asiarf,ap7621-nv1) ucidef_add_switch "switch0" "0:wan" "2:lan" "3:lan" "6@eth0" ;; + asus,rt-ac65p|\ asus,rt-ac57u|\ + asus,rt-ac85p|\ mikrotik,rb750gr3|\ ubiquiti,edgerouterx|\ ubiquiti,edgerouterx-sfp|\ @@ -63,8 +65,6 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "6@eth0" ;; - asus,rt-ac65p|\ - asus,rt-ac85p|\ dlink,dir-860l-b1|\ elecom,wrc-1167ghbk2-s|\ elecom,wrc-1900gst|\