ramips: fix mac addresses used by Phicomm K2P
[openwrt/staging/lynxis.git] / target / linux / ramips / base-files / etc / board.d / 02_network
index a2b7d1cf33af8699889820fe4f95dd7be875eeb9..47cf00dcee164723f6f2e0e77a96fdce723f6df0 100755 (executable)
@@ -647,6 +647,10 @@ ramips_setup_macs()
                wan_mac=$(mtd_get_mac_binary factory 4)
                lan_mac=$(mtd_get_mac_binary factory 46)
                ;;
+       phicomm,k2p)
+               lan_mac=$(mtd_get_mac_binary factory 0xe000)
+               wan_mac=$(mtd_get_mac_binary factory 0xe006)
+               ;;
        poray,m3|\
        poray,m4-4m|\
        poray,m4-8m|\