diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2013-04-12 02:10:25 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2013-04-25 19:05:45 -0700 |
commit | 26b4742beaf18456195eeda1b8f59547f5569ac7 (patch) | |
tree | a861cc7b22b7319d35b2349eadd44c7f7e42c244 /drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c | |
parent | d87d830720a1446403ed38bfc2da268be0d356d1 (diff) | |
download | op-kernel-dev-26b4742beaf18456195eeda1b8f59547f5569ac7.zip op-kernel-dev-26b4742beaf18456195eeda1b8f59547f5569ac7.tar.gz |
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 <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c')
0 files changed, 0 insertions, 0 deletions