e1000e: Fix irq_synchronize in MSI-X case
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 2 Aug 2010 14:27:23 +0000 (14:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Aug 2010 04:20:21 +0000 (21:20 -0700)
commit8e86acd7d5968e08b3e1604e685a8c45f6fd7f40
treef870dc8370e6b23022c0914e4899dfd345b42ee9
parentc128ec29208d410568469bd8bb373b4cdc10912a
e1000e: Fix irq_synchronize in MSI-X case

Based on original patch/work from Jean Delvare <jdelvare@suse.de>
Synchronize all IRQs when in MSI-X IRQ mode.

Jean's original patch hard coded the sync with the 3 possible vectors,
this patch incorporates more flexibility for the future and aligns
with how igb stores the number of vectors into the adapter structure.

CC: Jean Delvare <jdelvare@suse.de>
Cc: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Acked-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/e1000.h
drivers/net/e1000e/netdev.c