return 0;
}
+ if ( find_msi_entry(pdev, -1, PCI_CAP_ID_MSIX) )
+ {
+ dprintk(XENLOG_WARNING, "MSI-X is already in use on "
+ "device %02x:%02x.%01x\n", msi->bus,
+ PCI_SLOT(msi->devfn), PCI_FUNC(msi->devfn));
+ return 0;
+ }
+
status = msi_capability_init(pdev, msi->irq, desc);
return status;
}
return 0;
}
+ if ( find_msi_entry(pdev, -1, PCI_CAP_ID_MSI) )
+ {
+ dprintk(XENLOG_WARNING, "MSI is already in use on "
+ "device %02x:%02x.%01x\n", msi->bus,
+ PCI_SLOT(msi->devfn), PCI_FUNC(msi->devfn));
+ return 0;
+ }
+
status = msix_capability_init(pdev, msi, desc);
return status;
}