[U-Boot] [PATCH v2] net: Check network device driver name

Wolfgang Denk wd at denx.de
Sun Sep 4 23:29:49 CEST 2011


Dear Michal Simek,

In message <1314696613-31095-1-git-send-email-monstr at monstr.eu> you wrote:
> If name is longer than allocated space NAMESIZE
> mac address is rewritten which show error
> message like:
> 
> Error message:
> Warning: Xlltemac.87000000 MAC addresses don't match:
> Address in SROM is         30:00:00:00:00:00
> Address in environment is  00:0a:35:00:6a:04
> 
> NAMESIZE contains Driver name + zero terminated character.
> 
> Signed-off-by: Michal Simek <monstr at monstr.eu>
> 
> ---
> v2: Apply Mike Frysinger version
> ---
>  net/eth.c |    8 ++++++++
>  1 files changed, 8 insertions(+), 0 deletions(-)

Applied, thanks.

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
"There is nothing  so  deadly  as  not  to  hold  up  to  people  the
opportunity to do great and wonderful things, if we wish to stimulate
them in an active way."
- Dr. Harold Urey, Nobel Laureate in chemistry


More information about the U-Boot mailing list