I found that there was 2 MACID in the start log,
[ 2.931945] Detected MACID=d0:39:72:30:58:cf
[ 2.937377] cpsw: Detected MACID = d0:39:72:30:58:d1
what is the difference between 2 MAC ID?
I found codes for the logs,
if (is_valid_ether_addr(data->mac_addr)) {
memcpy(priv->mac_addr, data->mac_addr, ETH_ALEN);
printk(KERN_INFO"Detected MACID=%x:%x:%x:%x:%x:%x\n",
priv->mac_addr[0], priv->mac_addr[1],
priv->mac_addr[2], priv->mac_addr[3],
priv->mac_addr[4], priv->mac_addr[5]);
---------------
if (is_valid_ether_addr(data->slave_data[1].mac_addr)) {
memcpy(priv_sl2->mac_addr, data->slave_data[1].mac_addr,
ETH_ALEN);
pr_info("cpsw: Detected MACID = %pM\n", priv_sl2->mac_addr);
} else {
random_ether_addr(priv_sl2->mac_addr);
pr_info("cpsw: Random MACID = %pM\n", priv_sl2->mac_addr);
}
Where can I modify the MACID if we need in manufacture?