From: Bryan Wu Date: Fri, 28 May 2010 10:40:39 +0000 (-0700) Subject: netdev/fec: fix ifconfig eth0 down hang issue X-Git-Tag: v2.6.35-rc1~24^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=418bd0d4dfbff25ffe4365ddd3e7cba8c70ccba8;p=pandora-kernel.git netdev/fec: fix ifconfig eth0 down hang issue 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed