Dear Rob Herring, In message <1323129873-8786-1-git-send-email-robherri...@gmail.com> you wrote: > > The env variable "ethaddr" may not be set, so get the address from the > eth_device struct instead. This also enables pxe for secondary ethernet > devices.
This is not correct. The "ethaddr" environment variable shall always take precedence. Feel free to _additionally_ test other places that store this information. If the "ethaddr" environment variable is not set, then this alternative value can be used as default. In this case a warning should be printed. If both settings exist and differ, the "ethaddr" environment variable shall be used, and a warning be printed, too. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de The shortest unit of time in the multiverse is the News York Second, defined as the period of time between the traffic lights turning green and the cab behind you honking. - Terry Pratchett, _Lords and Ladies_ _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot