Searched refs:ethaddr_str (Results 1 – 1 of 1) sorted by relevance
130 char *ethaddr_str; in prom_get_ethernet_addr() local133 ethaddr_str = prom_getenv("ethaddr"); in prom_get_ethernet_addr()134 if (!ethaddr_str) { in prom_get_ethernet_addr()136 ethaddr_str = strstr(arcs_cmdline, "ethaddr="); in prom_get_ethernet_addr()137 if (!ethaddr_str) in prom_get_ethernet_addr()140 ethaddr_str += strlen("ethaddr="); in prom_get_ethernet_addr()143 str2eaddr(ethernet_addr, ethaddr_str); in prom_get_ethernet_addr()