diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2013-04-11 22:10:25 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2013-04-25 22:05:45 -0400 |
commit | 26b4742beaf18456195eeda1b8f59547f5569ac7 (patch) | |
tree | a861cc7b22b7319d35b2349eadd44c7f7e42c244 /arch | |
parent | d87d830720a1446403ed38bfc2da268be0d356d1 (diff) |
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 'arch')
0 files changed, 0 insertions, 0 deletions