[U-Boot] [PATCH] Write MAC address whenever ethernet subsystem is initialized

Sergei Shtylyov sshtylyov at mvista.com
Fri Aug 26 14:37:27 CEST 2011


Hello.

On 26-08-2011 13:24, Ingo van Lil wrote:

> Currently the ethernet MAC address is read from the 'ethaddr'
> environment variable into the dev->enetaddr field each time the network
> hardware is initialized, but it is written to the actual hardware only
> once at board startup. When 'ethaddr' is set or changed after startup
> the device can no longer receive packets because the hardware filter is
> still programmed to the old MAC.

> This patch moves the writing of the hardware address from eth_initialize
> (board startup) to eth_init (just before actually using the network).

    You didn't sign off the patch...

WBR, Sergei


More information about the U-Boot mailing list