From: Nithin Sujir Date: Sat, 18 May 2013 06:26:53 +0000 (+0000) Subject: tg3: Add tg3_eee_pull_config() function X-Git-Tag: v3.11-rc1~16^2~380^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=400dfbaa8d444a29056b051a3d7082dc611e3b12;p=pandora-kernel.git tg3: Add tg3_eee_pull_config() function Add tg3_eee_pull_config() to pull the settings from the hardware and populate the eee structure. If Link Flap Avoidance is enabled, we pull the eee settings from the hw so as not to cause a phy reset on eee config mismatch later. This requires moving down tg3_setup_eee() below the tg3_pull_config() to not trample existing settings. Reviewed-by: Ben Li Signed-off-by: Michael Chan Signed-off-by: Nithin Nayak Sujir Signed-off-by: David S. Miller --- Reading git-diff-tree failed