summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci-acpi.c
diff options
context:
space:
mode:
authorShaohua Li <shaohua.li@intel.com>2007-04-25 11:05:12 +0800
committerLen Brown <len.brown@intel.com>2007-04-25 01:13:47 -0400
commitf8993aff8b4de0317c6e081802ca5c86c449fef2 (patch)
treeaa0bd506c8887a4be0fafd6d005b515a899f708f /drivers/pci/pci-acpi.c
parenta23cf14b161b8deeb0f701d577a0e8be6365e247 (diff)
downloadop-kernel-dev-f8993aff8b4de0317c6e081802ca5c86c449fef2.zip
op-kernel-dev-f8993aff8b4de0317c6e081802ca5c86c449fef2.tar.gz
ACPI: Disable MSI on request of FADT
The ACPI spec defines the bit and Microsoft uses it, so Linux must use it too. Signed-off-by: Shaohua Li <shaohua.li@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/pci/pci-acpi.c')
-rw-r--r--drivers/pci/pci-acpi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c
index a064f36..b5ac810 100644
--- a/drivers/pci/pci-acpi.c
+++ b/drivers/pci/pci-acpi.c
@@ -317,6 +317,10 @@ static int __init acpi_pci_init(void)
{
int ret;
+ if (acpi_gbl_FADT.boot_flags & BAF_MSI_NOT_SUPPORTED) {
+ printk(KERN_INFO"ACPI FADT declares the system doesn't support MSI, so disable it\n");
+ pci_no_msi();
+ }
ret = register_acpi_bus_type(&acpi_pci_bus);
if (ret)
return 0;
OpenPOWER on IntegriCloud