]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 29 Feb 2016 15:57:11 +0000 (08:57 -0700)
commit531ff577a34c972dbc79cdffe87fb546b2ac7408
treefbe0b479f34cd9c651780d9b74bff6ba6ed9df96
parentb7fe4afb33941640a09729483ea4bdce27bd0ea9
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>
(cherry picked from commit 16ecba59bc333d6282ee057fb02339f77a880beb)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/net/ethernet/intel/e1000e/netdev.c