[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <3424dc900703061538q564de10y4ea47dc97a7cc96@mail.gmail.com>
Date: Tue, 6 Mar 2007 15:38:46 -0800
From: "Anthony Godshall, Ampro Computers, Inc." <agodshall@...ro.com>
To: linux-kernel@...r.kernel.org
Subject: [PATCH] ACPI disabled due to DMI failure or blacklisted year should be noted, as is done with other ACPI blacklisting
Hello everyone.
IMHO, ACPI disabled due to DMI failure or blacklisted year should be
noted, as is done with other ACPI blacklisting.
This will help people troubleshoot when ACPI isn't working. Status
quo is a mysterious "ACPI Disabled" message without explanation on
BIOS that implements ACPI but not DMI. This is actually fairly common
on embedded x86 boards.
Tony
--- blacklist.orig.c 2007-02-04 10:44:54.000000000 -0800
+++ blacklist.tg.c 2007-03-06 10:57:18.000000000 -0800
@@ -79,11 +79,17 @@
{
int year = dmi_get_year(DMI_BIOS_DATE);
/* Doesn't exist? Likely an old system */
- if (year == -1)
+ if (year == -1) {
+ printk(KERN_ERR PREFIX "no DMI BIOS year, "
+ "acpi=force is required to enable ACPI\n" );
return 1;
+ }
/* 0? Likely a buggy new BIOS */
- if (year == 0)
+ if (year == 0) {
+ printk(KERN_ERR PREFIX "DMI BIOS year==0, "
+ "assuming ACPI-capable machine\n" );
return 0;
+ }
if (year < CONFIG_ACPI_BLACKLIST_YEAR) {
printk(KERN_ERR PREFIX "BIOS age (%d) fails cutoff (%d), "
"acpi=force is required to enable ACPI\n",
--
--
Tony Godshall
g
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists