ramips: correct/add Phicomm K2x WAN/label MAC address
[openwrt/openwrt.git] / target / linux / ramips / mt7620 / base-files / etc / board.d / 02_network
index e884390c3197a020816eda8ad94c69c2dbe577f8..83ada20eb5e01bec1059332a867a34de6076ff93 100755 (executable)
@@ -264,8 +264,6 @@ ramips_setup_macs()
                ;;
        alfa-network,ac1200rm|\
        dlink,dir-810l|\
-       phicomm,psg1218a|\
-       phicomm,psg1218b|\
        trendnet,tew-810dr)
                wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 0x28)" 1)
                ;;
@@ -328,14 +326,16 @@ ramips_setup_macs()
        iptime,a104ns)
                wan_mac=$(macaddr_add "$(mtd_get_mac_binary u-boot 0x1fc20)" 2)
                ;;
-       lb-link,bl-w1200)
+       lb-link,bl-w1200|\
+       phicomm,k2g|\
+       phicomm,psg1218a|\
+       phicomm,psg1218b)
                wan_mac=$(mtd_get_mac_binary factory 0x2e)
                label_mac=$wan_mac
                ;;
        lenovo,newifi-y1|\
        lenovo,newifi-y1s|\
        ohyeah,oy-0001|\
-       phicomm,k2g|\
        wavlink,wl-wn530hg4)
                wan_mac=$(mtd_get_mac_binary factory 0x2e)
                ;;