|
@@ -1192,6 +1192,9 @@ static int do_pci_enable_device(struct pci_dev *dev, int bars)
|
|
return err;
|
|
return err;
|
|
pci_fixup_device(pci_fixup_enable, dev);
|
|
pci_fixup_device(pci_fixup_enable, dev);
|
|
|
|
|
|
|
|
+ if (dev->msi_enabled || dev->msix_enabled)
|
|
|
|
+ return 0;
|
|
|
|
+
|
|
pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin);
|
|
pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin);
|
|
if (pin) {
|
|
if (pin) {
|
|
pci_read_config_word(dev, PCI_COMMAND, &cmd);
|
|
pci_read_config_word(dev, PCI_COMMAND, &cmd);
|