summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi_thermal.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2001-07-07 10:17:22 +0000
committermsmith <msmith@FreeBSD.org>2001-07-07 10:17:22 +0000
commit631a99c4b2da96866dfb72297b0062eef33f5832 (patch)
tree82d40811604c0892b04af64e0f2ca169f41c3406 /sys/dev/acpica/acpi_thermal.c
parent40dd7c8688692ffceb11e8d085ef73074604e5b5 (diff)
downloadFreeBSD-src-631a99c4b2da96866dfb72297b0062eef33f5832.zip
FreeBSD-src-631a99c4b2da96866dfb72297b0062eef33f5832.tar.gz
Quiet the complaint about the _SCP method if it doesn't exist; it's
not mandatory.
Diffstat (limited to 'sys/dev/acpica/acpi_thermal.c')
-rw-r--r--sys/dev/acpica/acpi_thermal.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpi_thermal.c b/sys/dev/acpica/acpi_thermal.c
index 1236cd8..0c7150c 100644
--- a/sys/dev/acpica/acpi_thermal.c
+++ b/sys/dev/acpica/acpi_thermal.c
@@ -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))) {
- 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 */
+ 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));
sc->tz_flags |= TZ_FLAG_NO_SCP;
} else {
/* we have to re-evaluate the entire zone now */
OpenPOWER on IntegriCloud