[U-Boot] [PATCH] net, fec_mxc: use mac address stored in env before looking in eeprom
Mike Frysinger
vapier at gentoo.org
Wed Mar 24 21:35:57 CET 2010
On Wednesday 24 March 2010 07:56:28 Heiko Schocher wrote:
> doc/README.enetaddr prescribes, to use a mac address stored in
> environment, before using a mac address stored in some special
> place.
you're reading things incorrectly, or you didnt read the whole thing. the
fec_mxc driver is correct today. its initialize function seeds eth_device-
>enetaddr with the hardware storage. it is up to the common networking code
to sync the environment to eth_device before calling the driver init function
(which it does). then the driver always uses eth_device->enetaddr.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100324/617e0e43/attachment.pgp
More information about the U-Boot
mailing list