diff options
author | Len Brown <len.brown@intel.com> | 2007-03-09 23:19:50 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-03-09 23:19:50 -0500 |
commit | 63e34ca93a62f472144db60fa3b81111c0d15721 (patch) | |
tree | 2137a4b98360833e78cbb8edd5dce5b2ab5a0a60 /drivers/acpi/blacklist.c | |
parent | 51e7fff1c2b763da910db3a875eac5b992df91d9 (diff) | |
parent | 9327f46ee28116b17f15f6505edd90f905908d62 (diff) |
Pull misc-for-upstream into release branch
Diffstat (limited to 'drivers/acpi/blacklist.c')
-rw-r--r-- | 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 f289fd41e77..3ec110ce00c 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", |