[U-Boot] [PATCH v2] Program net device MAC addresses after initializing
Wolfgang Denk
wd at denx.de
Mon Apr 26 13:52:16 CEST 2010
Dear Ben Warren,
In message <1272261030-9419-1-git-send-email-biggerbadderben at gmail.com> you 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.
Thanks.
> +If Ethernet drivers implement the 'write_hwaddr' function, valid MAC addresses
> +will be programmed into hardware as part of the initialization process. This
> +may be skipped by setting the appropriate 'ethmacskip' environment variable.
> +The naming convention is as follows:
> +"eth0macskip" (=>eth0), "eth1macskip" (=>eth1) etc.
Would it not be more consistent to use "ethmacskip" instead of
"eth0macskip" similar to using "ethaddr" (instead of "eth0addr") ?
The majority of boards still has only a single Ethernet interface
anyway.
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: wd at denx.de
F u cn rd ths u cnt spl wrth a dm!
More information about the U-Boot
mailing list