From: Emil Tantilov Date: Sat, 31 Aug 2013 03:08:20 +0000 (+0000) Subject: ixgbe: fix ethtool reporting of supported links for SFP modules X-Git-Tag: v3.12-rc2~14^2~48^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f8fdab1334cbd7e65b705cb5db6c3c1d757ffa0;p=pandora-kernel.git ixgbe: fix ethtool reporting of supported links for SFP modules This patch resolves an issue where the driver will display incorrect info for Q/SFP+ modules that were inserted after the driver has been loaded. This patch adds a call to identify_phy() in ixgbe_get_settings() prior to calling get_link_capabilities() which needs the PHY data in order to determine the correct settings. Signed-off-by: Emil Tantilov Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed