diff options
-rw-r--r-- | drivers/acpi/blacklist.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c index 018fc16c44ce..e88d4460afda 100644 --- a/drivers/acpi/blacklist.c +++ b/drivers/acpi/blacklist.c | |||
@@ -173,7 +173,34 @@ int __init acpi_blacklisted(void) | |||
173 | return blacklisted; | 173 | return blacklisted; |
174 | } | 174 | } |
175 | #ifdef CONFIG_DMI | 175 | #ifdef CONFIG_DMI |
176 | static int __init dmi_enable_osi_linux(const struct dmi_system_id *d) | ||
177 | { | ||
178 | acpi_dmi_osi_linux(1, d); /* enable */ | ||
179 | return 0; | ||
180 | } | ||
181 | |||
176 | static struct dmi_system_id acpi_osi_dmi_table[] __initdata = { | 182 | static struct dmi_system_id acpi_osi_dmi_table[] __initdata = { |
183 | /* | ||
184 | * _OSI(Linux) helps sound | ||
185 | * DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad R61"), | ||
186 | * DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T61"), | ||
187 | */ | ||
188 | { | ||
189 | .callback = dmi_enable_osi_linux, | ||
190 | .ident = "Lenovo ThinkPad R61", | ||
191 | .matches = { | ||
192 | DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), | ||
193 | DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad R61"), | ||
194 | }, | ||
195 | }, | ||
196 | { | ||
197 | .callback = dmi_enable_osi_linux, | ||
198 | .ident = "Lenovo ThinkPad T61", | ||
199 | .matches = { | ||
200 | DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), | ||
201 | DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T61"), | ||
202 | }, | ||
203 | }, | ||
177 | {} | 204 | {} |
178 | }; | 205 | }; |
179 | 206 | ||