[U-Boot] [PATCH] net: sync env ethaddr to device enetaddr in eth_init()

Ben Warren biggerbadderben at gmail.com
Wed Aug 5 23:26:50 CEST 2009


Wolfgang Denk wrote:
> 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
>
>   
This came after the merge window closed, but appears to be a bug fix so 
I'll process tonight.

regards,
Ben


More information about the U-Boot mailing list