From a283b1788a84e3d950e4f67fe8867f896b791116 Mon Sep 17 00:00:00 2001 From: Gabor Varga Date: Mon, 9 Dec 2019 23:03:58 +0100 Subject: 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 --- target/linux/ramips/mt7621/base-files/etc/board.d/02_network | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target') 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|\ -- cgit v1.2.3