From: Huang, Xiong Date: Wed, 25 Apr 2012 20:40:59 +0000 (+0000) Subject: atl1c: add function atl1c_power_saving X-Git-Tag: v3.5-rc1~109^2~276 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=319d013af0d47e1137ac02f94ad069312514ddfa;p=pandora-kernel.git atl1c: add function atl1c_power_saving This function is used for suspend of S1/S3/S4 and driver remove. It sets MAC/PHY based on the WoL configuation to get lower power consumption. atl1c_phy_power_saving is renamed to atl1c_phy_to_ps_link, this function is just make PHY enter a link/speed mode to eat less power. REG_MAC_CTRL register is refined as well. Signed-off-by: xiong Tested-by: Liu David Signed-off-by: David S. Miller --- Reading git-diff-tree failed