
17 Feb
2009
17 Feb
'09
1 a.m.
On Monday 16 February 2009 17:28:24 Wolfgang Denk wrote:
In message Mike Frysinger wrote:
printf ("Address in SROM is %s\n",
str_enetaddr(enetvar, dev->enetaddr));
printf ("Address in environment is %s\n",
str_enetaddr(enetvar, env_enetaddr));
Hm... Linux has a printk() format specifier for MAC addresses. Sounds like a clever idea to me. Maybe we should borrow that code?
it does eh ? that certainly sounds a lot better than str_enetaddr() as every place i changed to use it was in a printf() string. where in the kernel is that code ? i looked in lib/vsprintf.c but couldnt find it. -mike