commit | 418bd0d4dfbff25ffe4365ddd3e7cba8c70ccba8 | [log] [tgz] |
---|---|---|
author | Bryan Wu <bryan.wu@canonical.com> | Fri May 28 03:40:39 2010 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri May 28 03:40:39 2010 -0700 |
tree | 7366addfff922e8a0508054101c09a4593540a34 | |
parent | b58ffb41fc09d1ffaca97e5ae801233575be2a7f [diff] |
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 <bryan.wu@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>