pci_msi_supported
if (!pci_msi_supported(dev, minvec) || dev->current_state != PCI_D0)
if (!pci_msi_supported(dev, nvec) || dev->current_state != PCI_D0)