[openwrt/openwrt] ramips: fix Phicomm PSG1218A switch port labels

LEDE Commits lede-commits at lists.infradead.org
Mon Feb 22 12:50:16 EST 2021


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/567a88e4b99f9e1b647588de0319357e688ce016

commit 567a88e4b99f9e1b647588de0319357e688ce016
Author: Shiji Yang <yangshiji66 at qq.com>
AuthorDate: Tue Feb 23 00:02:30 2021 +0800

    ramips: fix Phicomm PSG1218A switch port labels
    
    The lan port sequence was reversed compared to the labels.
    
    Signed-off-by: Shiji Yang <yangshiji66 at qq.com>
    [improve commit title/message]
    Signed-off-by: Adrian Schmutzler <freifunk at 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 83ada20eb5..e614de5010 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" \



More information about the lede-commits mailing list