From: Emil Tantilov Date: Fri, 12 Apr 2013 02:10:25 +0000 (+0000) Subject: ixgbe: fix register access during ethtool loopback test X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~11^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26b4742beaf18456195eeda1b8f59547f5569ac7;p=pandora-kernel.git ixgbe: fix register access during ethtool loopback test This patch cleans up the logic in ixgbe_setup_loopback_test() to only access registers applicable to the MAC type. AUTOC is only valid on MACs older than X540. MACC is used for X540. In addition it removes a read of AUTOC and uses the stored value to force the link up. Signed-off-by: Emil Tantilov Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed