From: Emil Tantilov Date: Tue, 13 May 2014 08:24:00 +0000 (+0000) Subject: ixgbe: fix linking at 100Mbps on copper devices with MNG FW enabled X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~136^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1a35ee277afafc4f35d1de436b02941b46a7ca2;p=pandora-kernel.git ixgbe: fix linking at 100Mbps on copper devices with MNG FW enabled Driver was calling setup_link to make sure that fiber interfaces with MNG FW enabled will get link on probe because the laser was most likely turned off. This prevented non-fiber devices with MNG FW from linking at 100Mbps. This patch adds a check to only call setup_link for fiber devices. Reported-and-by: Tony Luck Signed-off-by: Emil Tantilov Tested-by: Tony Luck Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed