From: Nithin Sujir Date: Mon, 13 May 2013 11:04:15 +0000 (+0000) Subject: tg3: Skip powering down function 0 on certain serdes devices X-Git-Tag: v3.10-rc3~18^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44f3b503c16425c8e9db4bbaa2fc9cd0c9d0ba91;p=pandora-kernel.git tg3: Skip powering down function 0 on certain serdes devices On the 5718, 5719 and 5720 serdes devices, powering down function 0 results in all the other ports being powered down. Add code to skip function 0 power down. v2: - Modify tg3_phy_power_bug() function to use a switch instead of a complicated if statement. Suggested by Joe Perches. Cc: Signed-off-by: Michael Chan Signed-off-by: Nithin Nayak Sujir Signed-off-by: David S. Miller --- Reading git-diff-tree failed