Searched refs:hw_mac_addr (Results 1 – 2 of 2) sorted by relevance
3030 char hw_mac_addr[ETH_ALEN]; in mvneta_probe() local3122 mvneta_get_mac_addr(pp, hw_mac_addr); in mvneta_probe()3123 if (is_valid_ether_addr(hw_mac_addr)) { in mvneta_probe()3125 memcpy(dev->dev_addr, hw_mac_addr, ETH_ALEN); in mvneta_probe()
6042 char hw_mac_addr[ETH_ALEN]; in mvpp2_port_probe() local6116 mvpp2_get_mac_address(port, hw_mac_addr); in mvpp2_port_probe()6117 if (is_valid_ether_addr(hw_mac_addr)) { in mvpp2_port_probe()6119 ether_addr_copy(dev->dev_addr, hw_mac_addr); in mvpp2_port_probe()