]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: Do not read ICR in Other interrupt
authorBenjamin Poirier <bpoirier@suse.com>
Mon, 9 Nov 2015 23:50:19 +0000 (15:50 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 15 Dec 2015 03:36:13 +0000 (19:36 -0800)
commite375538fbdb3c44695595ca8c018b93f226a57d7
treeb0a4368ef63eaaa823ce67d13e8c5bdc8fcd6e4a
parent4fe0bf0542867efc6955b672264550c16f893ab9
e1000e: Do not read ICR in Other interrupt

Removes the ICR read in the other interrupt handler, uses EIAC to
autoclear the Other bit from ICR and IMS. This allows us to avoid
interference with Rx and Tx interrupts in the Other interrupt handler.

The information read from ICR is not needed. IMS is configured such that
the only interrupt cause that can trigger the Other interrupt is Link
Status Change.

Signed-off-by: Benjamin Poirier <bpoirier@suse.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/netdev.c