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

Prafulla Wadaskar prafulla at marvell.com
Mon Apr 26 14:03:12 CEST 2010


 

> -----Original Message-----
> From: u-boot-bounces at lists.denx.de 
> [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Wolfgang Denk
> Sent: Monday, April 26, 2010 5:22 PM
> To: Ben Warren
> Cc: u-boot at lists.denx.de
> Subject: Re: [U-Boot] [PATCH v2] Program net device MAC 
> addresses after initializing
> 
> Dear Ben Warren,
...snip...
> > +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.

Kirkwood has two egiga controllers and some of boards are using both, like OpenRD, GuruPlug.
Guruplug has two ports- eth0 and eth1, and setting eth1macskip I can only program eth0 mac address.

Regards..
Prafulla . .


More information about the U-Boot mailing list