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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to