]> git.baikalelectronics.ru Git - kernel.git/commit
ixgb: call pci_disable_device in ixgb_remove
authorEmil Tantilov <emil.s.tantilov@intel.com>
Thu, 28 Oct 2010 00:59:49 +0000 (00:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Oct 2010 17:19:00 +0000 (10:19 -0700)
commit954f10c4959b49991a96c5cac86b28b25f882b5e
tree110963d7857fe29750394485c4c4e404ca637f33
parente8b15abe37da446401b42b0b9d1cf48f575148e1
ixgb: call pci_disable_device in ixgb_remove

ixgb fails to work after reload on recent kernels:

rmmod ixgb (dev->current_state = PCI_UNKNOWN)
modprobe ixgb (pci_enable_device will bail leaving current_state to PCI_UNKNOWN)
ifup eth0
do_IRQ: 2.82 No irq handler for vector (irq -1)

The issue was exposed by commit 84b046c60e40c5810b114339b819aabb12405707
PCI: MSI: Remove unsafe and unnecessary hardware access

which avoids HW writes for power states != PCI_D0

CC: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgb/ixgb_main.c