From: Lendacky, Thomas Date: Wed, 3 Sep 2014 17:14:16 +0000 (-0500) Subject: amd-xgbe-phy: Check device for current speed mode (KR/KX) X-Git-Tag: fixes-against-v3.18-rc2~81^2~158^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3eec4e79322957d9408dc4e2cf7276c558999d7;p=pandora-kernel.git amd-xgbe-phy: Check device for current speed mode (KR/KX) Since device resets can change the current mode it's possible to think the device is in a different mode than it actually is. Rather than trying to determine every place that is needed to set/save the current mode, be safe and check the devices actual mode when needed rather than trying to track it. Signed-off-by: Tom Lendacky Signed-off-by: David S. Miller --- Reading git-diff-tree failed