diff options
author | Shaohua Li <shaohua.li@intel.com> | 2007-04-24 23:05:12 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-04-25 01:13:47 -0400 |
commit | f8993aff8b4de0317c6e081802ca5c86c449fef2 (patch) | |
tree | aa0bd506c8887a4be0fafd6d005b515a899f708f | |
parent | a23cf14b161b8deeb0f701d577a0e8be6365e247 (diff) |
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>
-rw-r--r-- | drivers/pci/pci-acpi.c | 4 | ||||
-rw-r--r-- | include/acpi/actbl.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c index a064f36a0805..b5ac810404c0 100644 --- a/drivers/pci/pci-acpi.c +++ b/drivers/pci/pci-acpi.c | |||
@@ -317,6 +317,10 @@ static int __init acpi_pci_init(void) | |||
317 | { | 317 | { |
318 | int ret; | 318 | int ret; |
319 | 319 | ||
320 | if (acpi_gbl_FADT.boot_flags & BAF_MSI_NOT_SUPPORTED) { | ||
321 | printk(KERN_INFO"ACPI FADT declares the system doesn't support MSI, so disable it\n"); | ||
322 | pci_no_msi(); | ||
323 | } | ||
320 | ret = register_acpi_bus_type(&acpi_pci_bus); | 324 | ret = register_acpi_bus_type(&acpi_pci_bus); |
321 | if (ret) | 325 | if (ret) |
322 | return 0; | 326 | return 0; |
diff --git a/include/acpi/actbl.h b/include/acpi/actbl.h index 09469e7db6a5..955adfb8d64c 100644 --- a/include/acpi/actbl.h +++ b/include/acpi/actbl.h | |||
@@ -276,6 +276,7 @@ enum acpi_prefered_pm_profiles { | |||
276 | 276 | ||
277 | #define BAF_LEGACY_DEVICES 0x0001 | 277 | #define BAF_LEGACY_DEVICES 0x0001 |
278 | #define BAF_8042_KEYBOARD_CONTROLLER 0x0002 | 278 | #define BAF_8042_KEYBOARD_CONTROLLER 0x0002 |
279 | #define BAF_MSI_NOT_SUPPORTED 0x0008 | ||
279 | 280 | ||
280 | #define FADT2_REVISION_ID 3 | 281 | #define FADT2_REVISION_ID 3 |
281 | #define FADT2_MINUS_REVISION_ID 2 | 282 | #define FADT2_MINUS_REVISION_ID 2 |