Rafael J. Wysocki f118c0c3cf PCI: PCIe portdrv: Do not enable port device before setting up interrupts
The PCI Express port driver calls pci_enable_device() before setting
up interrupts, which is wrong, because if there is an interrupt pin
configured for the port, pci_enable_device() will likely set up an
interrupt link for it.  However, this shouldn't be done if either
MSI or MSI-X interrupt mode is chosen for the port.

The solution is to call pci_enable_device() after setting up
interrupts, because in that case the interrupt link won't be set up
if MSI or MSI-X are enabled.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-03-19 19:29:22 -07:00
..
2008-10-16 16:53:15 +02:00
2008-10-15 14:24:08 +02:00
2008-10-15 14:24:08 +02:00
2009-02-13 11:59:03 -08:00
2006-12-01 14:36:56 -08:00
2009-01-09 03:39:43 -05:00
2009-02-13 12:01:56 -08:00
2008-10-22 16:42:35 -07:00
2008-06-25 16:05:13 -07:00