Searched refs:ethaddr_str (Results 1 – 1 of 1) sorted by relevance
129 char *ethaddr_str; in prom_get_ethernet_addr() local132 ethaddr_str = prom_getenv("ethaddr"); in prom_get_ethernet_addr()133 if (!ethaddr_str) { in prom_get_ethernet_addr()135 ethaddr_str = strstr(arcs_cmdline, "ethaddr="); in prom_get_ethernet_addr()136 if (!ethaddr_str) in prom_get_ethernet_addr()139 ethaddr_str += strlen("ethaddr="); in prom_get_ethernet_addr()142 str2eaddr(ethernet_addr, ethaddr_str); in prom_get_ethernet_addr()