From: Wolfgang Denk Date: Wed, 25 Feb 2009 09:00:58 +0100 Subject: [U-Boot] [PATCH v3] smc911x: split out useful defines/functions into local header In-Reply-To: <1235402987-18990-1-git-send-email-vapier@gentoo.org> References: <49A2488D.4070207@gmail.com> <1235402987-18990-1-git-send-email-vapier@gentoo.org> Message-ID: <20090225080058.5964D832E43F@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 Mike Frysinger, In message <1235402987-18990-1-git-send-email-vapier@gentoo.org> you wrote: > The smc911x driver has a lot of useful defines/functions which can be used > by pieces of code (such as example eeprom programmers). Rather than > forcing each place to duplicate these defines/functions, split them out > of the smdc911x driver into a local header. > > Signed-off-by: Mike Frysinger > CC: Sascha Hauer > CC: Guennadi Liakhovetski > CC: Magnus Lilja > CC: Ben Warren > --- > v3 > - rebased against master > > this applies against master and next of u-boot.git > > drivers/net/smc911x.c | 457 +--------------------------------------------- > drivers/net/smc911x.h | 494 +++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 496 insertions(+), 455 deletions(-) > create mode 100644 drivers/net/smc911x.h Applied, thanks. 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 Inside every old person is a young person wondering what happened. - Terry Pratchett, _Moving Pictures_