From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Fri, 02 Aug 2013 15:08:36 +0200 Subject: [U-Boot] Mac address warning In-Reply-To: <51FAEF05.1050700@boundarydevices.com> References: <51FAEF05.1050700@boundarydevices.com> Message-ID: <51FBAF54.1090502@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Eric, On 02/08/2013 01:28, Eric Nelson wrote: > Hi all, > > While testing Troy's usbnet patches, I was reminded of > this mysterious warning issued when the environment has > no mac address stored, but the device provides one: > > printf("\nWarning: %s using MAC address from net device\n", > dev->name); > > Why is this a warning? It's the out-of-the box default > for new boards who haven't saved a mac address to the > persistent environment. Well, I have found it very useful in case I set explicitely the ethaddr variable, so I know where the MAC address comes from. Do you find it disturbing ? Maybe we could replace "warning" with "info". Best regards, Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================