9
0
Fork 0
Commit Graph

14 Commits

Author SHA1 Message Date
Sascha Hauer e9e5919dd3 net: fec: use standard phy type defines
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-03-09 20:09:23 +01:00
Jean-Christophe PLAGNIOL-VILLARD 2263e27814 net: introduce phylib
Adapt phylib from linux

switch all the driver to it
reimplement mii bus

This will allow to have
 - phy drivers
 - to only connect the phy at then opening of the device
 - if the phy is not ready or not up fail on open

Same behaviour as in linux and will allow to share code and simplify porting.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2012-09-25 08:18:58 +02:00
Jean-Christophe PLAGNIOL-VILLARD 12f396a8b0 net: rework the mii support
this rework is done in order to add a phylib and allow to have phy driver support

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-27 14:36:03 +02:00
Sascha Hauer 6020d321e8 use U-Boot standard types for variables.
The FEC driver used to typedef it's own variable types. Use standard
U-Boot types instead

Signed-off-by: Carsten Schlote <schlote@vahanus.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2008-04-04 14:45:04 +02:00
Sascha Hauer 8d4e06d3d5 [mpc5200 fec] revert to some old version (somehow my play version got into the
repository). Runtime tested on pcm030
2008-02-20 17:48:31 +01:00
Juergen Beisert e121848b4a new revision, no volatile any more 2007-11-05 18:19:31 +01:00
Juergen Beisert 1cb7062653 integrating sha's changes into jbe's branch 2007-11-05 12:26:29 +01:00
Sascha Hauer a6c86a0b1b remove hardcoded regsiter base addresses 2007-10-09 18:59:18 +02:00
Sascha Hauer da3d281495 add some register bitmask values from the linux kernel 2007-10-09 18:09:17 +02:00
Sascha Hauer 98432d3925 svn_rev_683
more cleanups, fix compiler warnings
2007-07-05 18:02:16 +02:00
Sascha Hauer 9ff9f6a5ef svn_rev_579
miiphy
2007-07-05 18:02:06 +02:00
Sascha Hauer 955ed9aae1 svn_rev_573
cleanups, generic phy support
2007-07-05 18:02:06 +02:00
Sascha Hauer 882be5b59b svn_rev_188
WIP
2007-07-05 18:01:31 +02:00
Sascha Hauer a9c805bf87 svn_rev_175
moved to drivers/net
2007-07-05 18:01:30 +02:00