diff options
Diffstat (limited to 'arch/powerpc/kernel/msi.c')
-rw-r--r-- | arch/powerpc/kernel/msi.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/msi.c b/arch/powerpc/kernel/msi.c index 3bb7d3dd28be..0c16e2a854e5 100644 --- a/arch/powerpc/kernel/msi.c +++ b/arch/powerpc/kernel/msi.c | |||
@@ -19,6 +19,10 @@ int arch_msi_check_device(struct pci_dev* dev, int nvec, int type) | |||
19 | return -ENOSYS; | 19 | return -ENOSYS; |
20 | } | 20 | } |
21 | 21 | ||
22 | /* PowerPC doesn't support multiple MSI yet */ | ||
23 | if (type == PCI_CAP_ID_MSI && nvec > 1) | ||
24 | return 1; | ||
25 | |||
22 | if (ppc_md.msi_check_device) { | 26 | if (ppc_md.msi_check_device) { |
23 | pr_debug("msi: Using platform check routine.\n"); | 27 | pr_debug("msi: Using platform check routine.\n"); |
24 | return ppc_md.msi_check_device(dev, nvec, type); | 28 | return ppc_md.msi_check_device(dev, nvec, type); |