]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit66eb631dd4c8063e9f82b14d88a1bc35e83436a3
treedf7adaf0e220436ba0b5b5219e930a1b6697e4b3
parent71e10c4051304ea2142173a56bd7fe8eb6d546f8
netdev/fec.c: add phylib supporting to enable carrier detection (v2)

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