[PATCH 2/3] phylib: Properly reinitialize PHYs after hibernation
David Miller
davem at davemloft.net
Mon Dec 28 16:55:04 EST 2009
From: Anton Vorontsov <cbouatmailru at gmail.com>
Date: Wed, 23 Dec 2009 01:14:51 +0300
> 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 at ru.mvista.com>
Applied.
More information about the Linuxppc-dev
mailing list