summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/osl.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2008-01-23 20:04:28 -0500
committerLen Brown <len.brown@intel.com>2008-01-23 21:23:51 -0500
commitf40cd6fddcb1d51d8a2a67ddc81c14a3532f3cb7 (patch)
tree1f88c751d1c89d4beb57aa3d76a1f138a36f43cb /drivers/acpi/osl.c
parent5a4e143271b97dcaa113761a76942c4d4bc273a2 (diff)
downloadop-kernel-dev-f40cd6fddcb1d51d8a2a67ddc81c14a3532f3cb7.zip
op-kernel-dev-f40cd6fddcb1d51d8a2a67ddc81c14a3532f3cb7.tar.gz
ACPI: on OSI(Linux), print needed DMI rather than requesting dmidecode output
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r--drivers/acpi/osl.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 93ad5f4..2203153 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -1190,10 +1190,16 @@ acpi_os_validate_interface (char *interface)
if (!strcmp("Linux", interface)) {
printk(KERN_WARNING PREFIX
"System BIOS is requesting _OSI(Linux)\n");
- printk(KERN_WARNING PREFIX
- "If \"acpi_osi=Linux\" works better,\n"
- "Please send dmidecode "
- "to linux-acpi@vger.kernel.org\n");
+ if (acpi_dmi_dump())
+ printk(KERN_NOTICE PREFIX
+ "[please extract dmidecode output]\n");
+ printk(KERN_NOTICE PREFIX
+ "Please send DMI info above to "
+ "linux-acpi@vger.kernel.org\n");
+ printk(KERN_NOTICE PREFIX
+ "If \"acpi_osi=%sLinux\" works better, "
+ "please notify linux-acpi@vger.kernel.org\n",
+ osi_linux ? "!" : "");
if(osi_linux)
return AE_OK;
}
OpenPOWER on IntegriCloud