diff options
author | msmith <msmith@FreeBSD.org> | 2001-08-26 22:50:15 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2001-08-26 22:50:15 +0000 |
commit | f498a8c6518e124bcc506abd3ea0cbcb22bcf6ab (patch) | |
tree | 4610d877b8ba6f12e999a1168d835b4c80f630ae /sys/dev/acpica/acpi_thermal.c | |
parent | b01167587ae69f630d3f370d40dcdf353b3c063c (diff) | |
download | FreeBSD-src-f498a8c6518e124bcc506abd3ea0cbcb22bcf6ab.zip FreeBSD-src-f498a8c6518e124bcc506abd3ea0cbcb22bcf6ab.tar.gz |
Updates to match the ACPI CA 20010816 import:
- New debug macro (ACPI_DEBUG_PRINT), reducing debug-case code size.
- New debug level/subsystem codes.
Diffstat (limited to 'sys/dev/acpica/acpi_thermal.c')
-rw-r--r-- | sys/dev/acpica/acpi_thermal.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/dev/acpica/acpi_thermal.c b/sys/dev/acpica/acpi_thermal.c index 8ea6762..c46b2bd 100644 --- a/sys/dev/acpica/acpi_thermal.c +++ b/sys/dev/acpica/acpi_thermal.c @@ -346,7 +346,7 @@ acpi_tz_monitor(struct acpi_tz_softc *sc) /* XXX disable zone? go to max cooling? */ return_VOID; } - DEBUG_PRINT(TRACE_VALUES, ("got %d.%dC\n", TZ_KELVTOC(temp))); + ACPI_DEBUG_PRINT((ACPI_DB_VALUES, "got %d.%dC\n", TZ_KELVTOC(temp))); sc->tz_temperature = temp; /* @@ -461,7 +461,7 @@ acpi_tz_switch_cooler_off(ACPI_OBJECT *obj, void *arg) switch(obj->Type) { case ACPI_TYPE_STRING: - DEBUG_PRINT(TRACE_OBJECTS, ("called to turn %s off\n", obj->String.Pointer)); + ACPI_DEBUG_PRINT((ACPI_DB_OBJECTS, "called to turn %s off\n", obj->String.Pointer)); /* * Find the handle for the device and turn it off. @@ -475,8 +475,8 @@ acpi_tz_switch_cooler_off(ACPI_OBJECT *obj, void *arg) break; default: - DEBUG_PRINT(TRACE_OBJECTS, ("called to handle unsupported object type %d\n", - obj->Type)); + ACPI_DEBUG_PRINT((ACPI_DB_OBJECTS, "called to handle unsupported object type %d\n", + obj->Type)); break; } return_VOID; @@ -501,7 +501,7 @@ acpi_tz_switch_cooler_on(ACPI_OBJECT *obj, void *arg) switch(obj->Type) { case ACPI_TYPE_STRING: - DEBUG_PRINT(TRACE_OBJECTS, ("called to turn %s on\n", obj->String.Pointer)); + ACPI_DEBUG_PRINT((ACPI_DB_OBJECTS, "called to turn %s on\n", obj->String.Pointer)); /* * Find the handle for the device and turn it off. @@ -521,8 +521,8 @@ acpi_tz_switch_cooler_on(ACPI_OBJECT *obj, void *arg) break; default: - DEBUG_PRINT(TRACE_OBJECTS, ("called to handle unsupported object type %d\n", - obj->Type)); + ACPI_DEBUG_PRINT((ACPI_DB_OBJECTS, "called to handle unsupported object type %d\n", + obj->Type)); break; } return_VOID; @@ -542,8 +542,8 @@ acpi_tz_getparam(struct acpi_tz_softc *sc, char *node, int *data) if (acpi_EvaluateInteger(sc->tz_handle, node, data) != AE_OK) { *data = -1; } else { - DEBUG_PRINT(TRACE_VALUES, ("%s.%s = %d\n", acpi_name(sc->tz_handle), - node, *data)); + ACPI_DEBUG_PRINT((ACPI_DB_VALUES, "%s.%s = %d\n", acpi_name(sc->tz_handle), + node, *data)); } return_VOID; } |