]> err.no Git - linux-2.6/commit
igb: ethtool -d reads EICR which is incorrect as it is read on clear
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 26 Aug 2008 11:25:05 +0000 (04:25 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 27 Aug 2008 09:16:30 +0000 (05:16 -0400)
commitfe59de38c58d3eedc025be61ff3055a41776bbd4
tree058932d84ae9e88ba4f4a2f184222278c5cdcb99
parent7a6ea550f2f7592742ac765e5a3b4b5d1461e0bd
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>
drivers/net/igb/igb_ethtool.c