[U-Boot] [PATCH v4 2/3] net: add helper to generate random mac address

Wolfgang Denk wd at denx.de
Fri May 11 21:21:19 CEST 2012


Dear Michael Walle,

In message <1336671134-16342-3-git-send-email-michael at walle.cc> you wrote:
> Add new function eth_random_enetaddr() to generate a locally administered
> ethernet address.
> 
> Signed-off-by: Michael Walle <michael at walle.cc>
> ---
>  include/net.h |   15 +++++++++++++++
>  net/eth.c     |   20 ++++++++++++++++++++
>  2 files changed, 35 insertions(+), 0 deletions(-)

Please make this code configurable.  I don't want to bloat code size
for all boards when only one or two will ever use this feature.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I'd like to meet the man who invented sex and see what  he's  working
on now.


More information about the U-Boot mailing list