From: Wolfgang Denk Date: Sat, 24 Jul 2010 19:04:45 +0200 Subject: [U-Boot] drivers/net/enc28j60.c - generalisation, how? In-Reply-To: <4C4A8404.6030302@emk-elektronik.de> References: <4C4A8404.6030302@emk-elektronik.de> Message-ID: <20100724170445.4550F152397@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 Reinhard Meyer, In message <4C4A8404.6030302@emk-elektronik.de> you wrote: > > I would like to generalize that driver and make it also > CONFIG_NET_MULTI-able. ... > When I do that, clearly I cannot test the two above boards for continued > functionality. > > Messing up the driver with #ifdefs to keep old code parallel > to new one does not look like a nice approach either. Submit patches, and put the board maintainers (if there are any) on Cc: If nobody complains the patches go in. 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 Karl's version of Parkinson's Law: Work expands to exceed the time alloted it.