Home
last modified time | relevance | path

Searched refs:macstr (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/arch/mips/rb532/
Ddevices.c252 static void __init parse_mac_addr(char *macstr) in parse_mac_addr() argument
260 if (i != 5 && *(macstr + 2) != ':') in parse_mac_addr()
264 if (isxdigit(*macstr) in parse_mac_addr()
266 isdigit(*macstr) ? *macstr - in parse_mac_addr()
267 '0' : toupper(*macstr) - 'A' + 10) < 16) { in parse_mac_addr()
269 macstr++; in parse_mac_addr()
274 macstr++; in parse_mac_addr()
/linux-2.6.39/drivers/net/xen-netback/
Dxenbus.c307 char *s, *e, *macstr; in xen_net_read_mac() local
310 macstr = s = xenbus_read(XBT_NIL, dev->nodename, "mac", NULL); in xen_net_read_mac()
311 if (IS_ERR(macstr)) in xen_net_read_mac()
312 return PTR_ERR(macstr); in xen_net_read_mac()
317 kfree(macstr); in xen_net_read_mac()
323 kfree(macstr); in xen_net_read_mac()
/linux-2.6.39/drivers/net/
Dxen-netfront.c1323 char *s, *e, *macstr; in xen_net_read_mac() local
1326 macstr = s = xenbus_read(XBT_NIL, dev->nodename, "mac", NULL); in xen_net_read_mac()
1327 if (IS_ERR(macstr)) in xen_net_read_mac()
1328 return PTR_ERR(macstr); in xen_net_read_mac()
1333 kfree(macstr); in xen_net_read_mac()
1339 kfree(macstr); in xen_net_read_mac()