Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5b27b176da6cc83b0f904c7e0aabd9362d70bf70
Commit:     5b27b176da6cc83b0f904c7e0aabd9362d70bf70
Parent:     f110ef58e6c9bd562999247c5e8a5b8e722fbd11
Author:     Anthony Godshall, Ampro Computers, Inc <[EMAIL PROTECTED]>
AuthorDate: Fri Mar 9 21:19:05 2007 -0500
Committer:  Len Brown <[EMAIL PROTECTED]>
CommitDate: Fri Mar 9 21:19:05 2007 -0500

    ACPI: make blacklist more verbose
    
    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.
    
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
 drivers/acpi/blacklist.c |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c
index f289fd4..3ec110c 100644
--- a/drivers/acpi/blacklist.c
+++ b/drivers/acpi/blacklist.c
@@ -79,11 +79,17 @@ static int __init blacklist_by_year(void)
 {
        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",
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to