diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-12-30 08:23:30 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-31 06:03:42 (GMT) |
commit | 2f5cb43406d0b29b96248f5328a14a6f6abf8ae6 (patch) | |
tree | f43e017599e590a9fbff22e2973dd77e2bc4fb41 /arch/x86/lguest/boot.c | |
parent | 541cd3ee00a4fe975b22fac6a3bc846bacef37f7 (diff) | |
download | linux-fsl-qoriq-2f5cb43406d0b29b96248f5328a14a6f6abf8ae6.tar.xz |
phylib: Properly reinitialize PHYs after hibernation
Since hibernation assumes power loss, we should fully reinitialize
PHYs (including platform fixups), as if PHYs were just attached.
This patch factors phy_init_hw() out of phy_attach_direct(), then
converts mdio_bus to dev_pm_ops and adds an appropriate restore()
callback.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/x86/lguest/boot.c')
0 files changed, 0 insertions, 0 deletions