From: Wolfgang Denk Date: Wed, 09 Jan 2013 10:04:19 +0100 Subject: [U-Boot] [PATCH 2/2] calimain: Generate random MAC address for factory tests In-Reply-To: <50ED2B84.2080905@omicron.at> References: <1357653279-29635-1-git-send-email-christian.riesch@omicron.at> <6cc4810c-1e2e-4ebf-912a-96936f035c0e@mary.at.omicron.at> <20130108173947.5B123202B69@gemini.denx.de> <50ED2B84.2080905@omicron.at> Message-ID: <20130109090419.9E5A6200731@gemini.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 Dear Christian Riesch, In message <50ED2B84.2080905@omicron.at> you wrote: > > > What exactly is your justification for such a change? Please > > elucidate... > > Actually I do not change anything ;-) Why do you need a patch then? :-P > > NAK! You are but duplicating the code already present in net/eth.c > > Apparently I am missing something here. I do not see a call of > eth_random_enetaddr() in net/eth.c. To which part of net/eth.c are you > referring? Hm... I can't find it now, either. Dunno what I have seen then. eventually I was looking at your patch in two windows :-( Sorry - but still: very similar code exists in rescue_mode() in "board/buffalo/lsxl/lsxl.c"; this should be factored out. 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 Any sufficiently advanced technology is indistinguishable from a rigged demo. - Andy Finkel, computer guy