]> git.openfabrics.org - ~shefty/rdma-dev.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)
commit53c7d06418bdf2f20fc869b33e3a44bb770aff1e
treedd2634954e3eb0e64324188cc55ae92bd64b6783
parentcb6d0f5eef58cfa1a78ebcfebd3d630c31061f79
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