smc911x: split out useful defines/functions into local header
authorMike Frysinger <vapier@gentoo.org>
Mon, 23 Feb 2009 15:29:47 +0000 (10:29 -0500)
committerWolfgang Denk <wd@denx.de>
Wed, 25 Feb 2009 08:00:32 +0000 (09:00 +0100)
commit75ba6d693b8f6247aa4b81323a2ee2fa28222215
tree67c94bfd49aeb04a465e5ca3200559ef41e9e367
parent7fe2a9839423a619b5e232646f93ad915ac2029e
smc911x: split out useful defines/functions into local header

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 <vapier@gentoo.org>
Acked-by: Ben Warren <biggerbadderben@gmail.com>
CC: Sascha Hauer <s.hauer@pengutronix.de>
CC: Guennadi Liakhovetski <lg@denx.de>
CC: Magnus Lilja <lilja.magnus@gmail.com>
CC: Ben Warren <biggerbadderben@gmail.com>
drivers/net/smc911x.c
drivers/net/smc911x.h [new file with mode: 0644]