Searched refs:ethaddr_str (Results 1 – 2 of 2) sorted by relevance
108 char *ethaddr_str; in prom_get_ethernet_addr() local111 ethaddr_str = prom_getenv("ethaddr"); in prom_get_ethernet_addr()112 if (!ethaddr_str) { in prom_get_ethernet_addr()114 ethaddr_str = strstr(arcs_cmdline, "ethaddr="); in prom_get_ethernet_addr()115 if (!ethaddr_str) in prom_get_ethernet_addr()118 ethaddr_str += strlen("ethaddr="); in prom_get_ethernet_addr()121 str2eaddr(ethernet_addr, ethaddr_str); in prom_get_ethernet_addr()
147 char *ethaddr_str; in get_ethernet_addr() local149 ethaddr_str = prom_getenv(ethaddr_name); in get_ethernet_addr()150 if (!ethaddr_str) { in get_ethernet_addr()155 if (str2eaddr(ethernet_addr, ethaddr_str) == -1) { in get_ethernet_addr()157 ethaddr_name, ethaddr_str); in get_ethernet_addr()