From: Shiji Yang <yangshiji66@qq.com>
Date: Mon, 22 Feb 2021 16:02:30 +0000 (+0800)
Subject: ramips: fix Phicomm PSG1218A switch port labels
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=567a88e4b99f9e1b647588de0319357e688ce016;p=openwrt%2Fstaging%2Fblogic.git

ramips: fix Phicomm PSG1218A switch port labels

The lan port sequence was reversed compared to the labels.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
[improve commit title/message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
---

diff --git a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
index 83ada20eb5e0..e614de5010a5 100755
--- a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
@@ -18,7 +18,6 @@ ramips_setup_interfaces()
 	dovado,tiny-ac|\
 	ohyeah,oy-0001|\
 	phicomm,psg1208|\
-	phicomm,psg1218a|\
 	planex,db-wrt01|\
 	planex,mzk-750dhp|\
 	ralink,mt7620a-evb|\
@@ -110,6 +109,7 @@ ramips_setup_interfaces()
 		;;
 	dlink,dir-810l|\
 	netgear,jwnr2010-v5|\
+	phicomm,psg1218a|\
 	trendnet,tew-810dr|\
 	zbtlink,zbt-we2026)
 		ucidef_add_switch "switch0" \