From: Anton Vorontsov Date: Wed, 30 Dec 2009 08:23:30 +0000 (+0000) Subject: phylib: Properly reinitialize PHYs after hibernation X-Git-Tag: v2.6.33-rc4~10^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f5cb43406d0b29b96248f5328a14a6f6abf8ae6;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed