Skip to contentSkip to conversation

acpi: add missing _OSI strings

PATCH New Shaohua Li 1 participant 1 message Jun 14, 2011 ACPI

lore
Share & tools
lore

Shaohua Li

author
#0 lore raw

PATCH 1/1 acpi: add missing _OSI strings

Linux supports some optional features, but it should notify BIOS about them in _OSI method. Currently Linux doesn't notify any, which might make such features not work because BIOS doesn't know about them.

drivers/acpi/osl.c +7 -1
index 52ca964..a305115 100644
@@ -1083,7 +1083,13 @@ struct osi_setup_entry {
 	bool enable;
 };
 
-static struct osi_setup_entry __initdata osi_setup_entries[OSI_STRING_ENTRIES_MAX];
+static struct osi_setup_entry __initdata
+		osi_setup_entries[OSI_STRING_ENTRIES_MAX] = {
+	{"Module Device", true},
+	{"Processor Device", true},
+	{"3.0 _SCP Extensions", true},
+	{"Processor Aggregator Device", true},
+};
 
 void __init acpi_osi_setup(char *str)
 {