netdev/fec: fix ifconfig eth0 down hang issue
authorBryan Wu <bryan.wu@canonical.com>
Fri, 28 May 2010 10:40:39 +0000 (03:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 May 2010 10:40:39 +0000 (03:40 -0700)
BugLink: http://bugs.launchpad.net/bugs/559065
In fec open/close function, we need to use phy_connect and phy_disconnect
operation before we start/stop phy. Otherwise it will cause system hang.

Only call fec_enet_mii_probe() in open function, because the first open
action will cause NULL pointer error.

Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found