]> git.baikalelectronics.ru Git - kernel.git/commit
igb: remove duplicate code for fallback interrupt initialization
authorStefan Assmann <sassmann@kpanic.de>
Tue, 4 Dec 2012 06:00:12 +0000 (06:00 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 7 Dec 2012 05:45:59 +0000 (21:45 -0800)
commit0955eeaffad763301064c03c58fbddcfc77a0eaf
treedd2634954e3eb0e64324188cc55ae92bd64b6783
parent31baabb3171ec8142ec61c8b4a553c22e701b2cf
igb: remove duplicate code for fallback interrupt initialization

Given a small change to igb_init_interrupt_scheme() the function fits
igb_request_irq() for MSI/legacy interrupts initialization as well, instead of
duplicating most of its code there.

Also adding a missing igb_configure() to igb_request_irq() for MSI fallback
to work properly.

Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c