All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] rfc: print mac addr
@ 2005-12-06 10:49 walter harms
  2005-12-06 11:11 ` Paolo Teti
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: walter harms @ 2005-12-06 10:49 UTC (permalink / raw)
  To: kernel-janitors

hi list,

must (if not all) net drivers contain something like this to print a mac 
addr:

for (i = 0; i < 6; i++)
   printk("%2.2x%c", dev->dev_addr[i],i = 5 ? '\n' : ':');

I think it would be usefull to add a helper function.
simple question:
1. is there such a function ?
2. where to add ? each driver ? or is there a common place i do not know 
about ?

re,
  walter

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-12-07  1:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-06 10:49 [KJ] rfc: print mac addr walter harms
2005-12-06 11:11 ` Paolo Teti
2005-12-06 17:03 ` Randy.Dunlap
2005-12-06 17:11 ` walter harms
2005-12-06 17:15 ` Roland Dreier
2005-12-07  1:07 ` Randy.Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.