Quiet the complaint about the _SCP method if it doesn't exist; it's

not mandatory.
This commit is contained in:
Mike Smith 2001-07-07 10:17:22 +00:00
parent 8077a62b9c
commit 30185bcabe

View File

@ -681,8 +681,9 @@ acpi_tz_powerprofile(void *arg)
args.Count = 1;
args.Pointer = &obj;
if (ACPI_FAILURE(status = AcpiEvaluateObject(sc->tz_handle, "_SCP", &args, NULL))) {
if (status != AE_NOT_FOUND)
device_printf(sc->tz_dev, "can't evaluate %s._SCP - %s\n", acpi_name(sc->tz_handle),
acpi_strerror(status)); /* XXX silence this at some point */
acpi_strerror(status));
sc->tz_flags |= TZ_FLAG_NO_SCP;
} else {
/* we have to re-evaluate the entire zone now */