diff options
Diffstat (limited to 'drivers/acpi/blacklist.c')
-rw-r--r-- | drivers/acpi/blacklist.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c index 3ec110ce00c8..018fc16c44ce 100644 --- a/drivers/acpi/blacklist.c +++ b/drivers/acpi/blacklist.c | |||
@@ -3,6 +3,7 @@ | |||
3 | * | 3 | * |
4 | * Check to see if the given machine has a known bad ACPI BIOS | 4 | * Check to see if the given machine has a known bad ACPI BIOS |
5 | * or if the BIOS is too old. | 5 | * or if the BIOS is too old. |
6 | * Check given machine against acpi_osi_dmi_table[]. | ||
6 | * | 7 | * |
7 | * Copyright (C) 2004 Len Brown <len.brown@intel.com> | 8 | * Copyright (C) 2004 Len Brown <len.brown@intel.com> |
8 | * Copyright (C) 2002 Andy Grover <andrew.grover@intel.com> | 9 | * Copyright (C) 2002 Andy Grover <andrew.grover@intel.com> |
@@ -50,6 +51,8 @@ struct acpi_blacklist_item { | |||
50 | u32 is_critical_error; | 51 | u32 is_critical_error; |
51 | }; | 52 | }; |
52 | 53 | ||
54 | static struct dmi_system_id acpi_osi_dmi_table[] __initdata; | ||
55 | |||
53 | /* | 56 | /* |
54 | * POLICY: If *anything* doesn't work, put it on the blacklist. | 57 | * POLICY: If *anything* doesn't work, put it on the blacklist. |
55 | * If they are critical errors, mark it critical, and abort driver load. | 58 | * If they are critical errors, mark it critical, and abort driver load. |
@@ -165,5 +168,13 @@ int __init acpi_blacklisted(void) | |||
165 | 168 | ||
166 | blacklisted += blacklist_by_year(); | 169 | blacklisted += blacklist_by_year(); |
167 | 170 | ||
171 | dmi_check_system(acpi_osi_dmi_table); | ||
172 | |||
168 | return blacklisted; | 173 | return blacklisted; |
169 | } | 174 | } |
175 | #ifdef CONFIG_DMI | ||
176 | static struct dmi_system_id acpi_osi_dmi_table[] __initdata = { | ||
177 | {} | ||
178 | }; | ||
179 | |||
180 | #endif /* CONFIG_DMI */ | ||