Program net device MAC addresses after initializing
authorBen Warren <biggerbadderben@gmail.com>
Mon, 26 Apr 2010 18:11:46 +0000 (11:11 -0700)
committerBen Warren <biggerbadderben@gmail.com>
Mon, 3 May 2010 21:52:49 +0000 (14:52 -0700)
commitecee9324d73555e744593f3e0d387bec4c566f55
treee0ddc06decbe33b90c867d1751272e933f5e01ec
parentc960b13ed22d9ea570957379f9f7f2f37d87ef08
Program net device MAC addresses after initializing

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: Detlev Zundel <dzu@denx.de>
Tested-by: Prafulla Wadaskar <prafulla@marvell.com>
Tested-by: Heiko Schocher <hs@denx.de>
Tested-by: Thomas Chou <thomas@wytron.com.tw>
README
doc/README.drivers.eth
doc/README.enetaddr
include/net.h
net/eth.c