From 567a88e4b99f9e1b647588de0319357e688ce016 Mon Sep 17 00:00:00 2001
From: Shiji Yang <yangshiji66@qq.com>
Date: Tue, 23 Feb 2021 00:02:30 +0800
Subject: [PATCH] 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>
---
 target/linux/ramips/mt7620/base-files/etc/board.d/02_network | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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" \
-- 
2.30.2