[U-Boot] [PATCH] net: sync env ethaddr to device enetaddr in eth_init()
Wolfgang Denk
wd at denx.de
Wed Aug 5 23:24:57 CEST 2009
Dear Ben,
In message <1247707888-5415-1-git-send-email-vapier at gentoo.org> Mike Frysinger wrote:
> In the previous enetaddr refactoring, the assumption with commit 56b555a644
> was that the eth layer would handle the env -> device enetaddr syncing.
> This was not the case as eth_initialize() is called only once and the sync
> occurs there. So make sure the eth_init() function does the env -> device
> sync with every network init.
>
> Reported-by: Andrzej Wolski <awolski at poczta.fm>
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
> Andrzej: please try this patch instead for your macb troubles
>
> include/net.h | 2 +-
> net/eth.c | 52 +++++++++++++++++++++++-----------------------------
> 2 files changed, 24 insertions(+), 30 deletions(-)
Ping...
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
The greatest threat towards future is indifference.
More information about the U-Boot
mailing list