netdev/fec.c: add phylib supporting to enable carrier detection (v2)
authorBryan Wu <bryan.wu@canonical.com>
Wed, 31 Mar 2010 02:10:44 +0000 (02:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Apr 2010 02:53:13 +0000 (19:53 -0700)
BugLink: http://bugs.launchpad.net/bugs/457878
v2:
 - remove duplicated phy_speed caculation
 - fix the phy_speed caculation according to the DataSheet

v1:
 - removed old MII phy control code
 - add phylib supporting
 - add ethtool interface to make user space NetworkManager works

Tested on Freescale i.MX51 Babbage board.

This patch is based on a patch from Frederic Rodo <fred.rodo@gmail.com>

Cc: Frederic Rodo <fred.rodo@gmail.com>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
Acked-by: Amit Kucheria <amit.kucheria@canonical.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Kconfig
drivers/net/fec.c

Simple merge
Simple merge