diff options
| author | Emil Tantilov <emil.s.tantilov@intel.com> | 2011-07-26 07:51:41 +0000 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-09-16 19:02:37 -0700 |
| commit | 1a70db4b05fcaa976b625d47fba5e6cc2d89b0ae (patch) | |
| tree | cf8c247c8820bc1b6ece7412eb68d12629215ed0 /include/linux | |
| parent | 919e78a6b890bdcce8ca0fa699bd361c6f24dc94 (diff) | |
| download | cachepc-linux-1a70db4b05fcaa976b625d47fba5e6cc2d89b0ae.tar.gz cachepc-linux-1a70db4b05fcaa976b625d47fba5e6cc2d89b0ae.zip | |
ixgbe: cleanup some register reads
Remove duplicate inc of hwstats->ruc
Introduce separate loops for 8 and 16 register reads.
Consolidate mac checks under one case.
Make sure registers are cleared on read.
Reported-by: Jonathan Lynch <jonathan.lynch@thenowfactory.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
CC: Jonathan Lynch <jonathan.lynch@thenowfactory.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
