diff options
author | Joe Schultz <jschultz@xes-inc.com> | 2015-11-03 12:37:29 -0600 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-12-14 16:07:21 -0800 |
commit | d602de05934c1d3022b153ff879e81f65df2a7b6 (patch) | |
tree | cf28cc8aa001d7504c8b9f5140e0bff1e0e816f9 /drivers/net/ethernet/intel/e1000e/netdev.c | |
parent | igb: Improve cable length function for I210, etc. (diff) | |
download | linux-dev-d602de05934c1d3022b153ff879e81f65df2a7b6.tar.xz linux-dev-d602de05934c1d3022b153ff879e81f65df2a7b6.zip |
igb: Explicitly label self-test result indices
Previously, the ethtool self-test gstrings/data arrays were accessed via
hardcoded indices, which made the code difficult to follow. This patch
replaces the hardcoded values with enum-based labels.
Signed-off-by: Joe Schultz <jschultz@xes-inc.com>
Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/e1000e/netdev.c')
0 files changed, 0 insertions, 0 deletions