Hi Wolfgang,
On 4/26/2010 4:52 AM, Wolfgang Denk wrote: > Dear Ben Warren, > > In message<1272261030-9419-1-git-send-email-biggerbadder...@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") ? > > I guess it depends which consistency we're going for :) We can be consistent relative to an existing variable that is itself inconsistent for historical reasons, or we can be consistent in usage of the new variable. I don't have a strong opinion either way, so will change this. > The majority of boards still has only a single Ethernet interface > anyway. > > Best regards, > > Wolfgang Denk > > regards, Ben _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot