diff options
Diffstat (limited to 'drivers/pci/msi.c')
-rw-r--r-- | drivers/pci/msi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index d5a67c1bcb98..4de1c17ee573 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c | |||
@@ -703,6 +703,9 @@ int pci_enable_msi(struct pci_dev* dev) | |||
703 | if (dev->no_msi) | 703 | if (dev->no_msi) |
704 | return status; | 704 | return status; |
705 | 705 | ||
706 | if (dev->bus->bus_flags & PCI_BUS_FLAGS_NO_MSI) | ||
707 | return -EINVAL; | ||
708 | |||
706 | temp = dev->irq; | 709 | temp = dev->irq; |
707 | 710 | ||
708 | status = msi_init(); | 711 | status = msi_init(); |