commit | fe59de38c58d3eedc025be61ff3055a41776bbd4 | [log] [tgz] |
---|---|---|
author | Alexander Duyck <alexander.h.duyck@intel.com> | Tue Aug 26 04:25:05 2008 -0700 |
committer | Jeff Garzik <jgarzik@redhat.com> | Wed Aug 27 05:16:30 2008 -0400 |
tree | 058932d84ae9e88ba4f4a2f184222278c5cdcb99 | |
parent | 7a6ea550f2f7592742ac765e5a3b4b5d1461e0bd [diff] |
igb: ethtool -d reads EICR which is incorrect as it is read on clear Ethtool -d is reading the EICR and ICR registers which is currently clearing these registers and masking off interrupts. To prevent this we read the EICS and ICS equivilents as they can be read without clearing or masking. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>