Linux ACPI
 help / color / mirror / Atom feed
* [patch]acpi: add missing _OSI strings
@ 2011-06-14  1:55 Shaohua Li
  0 siblings, 0 replies; only message in thread
From: Shaohua Li @ 2011-06-14  1:55 UTC (permalink / raw)
  To: Len Brown; +Cc: linux acpi, Jarosz, Sebastian

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.

Reported-by: "Jarosz, Sebastian" <sebastian.jarosz@intel.com>
Signed-off-by: Shaohua Li <shaohua.li@intel.com>

diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 52ca964..a305115 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -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)
 {



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-06-14  1:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-14  1:55 [patch]acpi: add missing _OSI strings Shaohua Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox