[U-Boot] [PATCH v4] Program net device MAC addresses after initializing

Thomas Chou
2010-04-27T06:15:02Z

On 04/27/2010 02:23 AM, Ben Warren wrote:
> Add a new function to the eth_device struct for programming a network
> controller's hardware address.
>
> After all network devices have been initialized and the proper MAC address
> for each has been determined, make a device driver call to program the
> address into the device. Only device instances with valid unicast addresses
> will be programmed.
>
> Signed-off-by: Ben Warren<biggerbadderben@gmail.com>
> Acked-by: Heiko Schocher<hs@denx.de>
> Acked-by: Detlev Zundel<dzu@denx.de>
> Tested-by: Prafulla Wadaskar<prafulla@marvell.com>
>
Tested using ethoc and altera_tse driver on nios2 NEEK and EP3C120 boards.

Tested-by: Thomas Chou <thomas@wytron.com.tw>