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

2011-08-26 Thread Mike Frysinger
On Friday, August 26, 2011 08:43:34 Ingo van Lil wrote: > @@ -261,11 +261,6 @@ int eth_initialize(bd_t *bis) > > memcpy(dev->enetaddr, env_enetaddr, 6); > } > - if (dev->write_hwaddr && > - !eth_mac

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

2011-08-26 Thread Ingo van Lil
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

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

2011-08-26 Thread Sergei Shtylyov
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

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

2011-08-26 Thread Ingo van Lil
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