summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi_thermal.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2001-05-29 20:13:42 +0000
committermsmith <msmith@FreeBSD.org>2001-05-29 20:13:42 +0000
commit7996f19f432a6f4cf9a62d6121b95f412a9828bb (patch)
tree3b22869e0df2f024daec841766dd27368c33ca28 /sys/dev/acpica/acpi_thermal.c
parentcc0ed18a81964224f46b56f81af2bc62de049ae3 (diff)
downloadFreeBSD-src-7996f19f432a6f4cf9a62d6121b95f412a9828bb.zip
FreeBSD-src-7996f19f432a6f4cf9a62d6121b95f412a9828bb.tar.gz
- Updates for new constant naming in the ACPI CA 20010518 update.
- Use __func__ instead of __FUNCTION. - Support power-off to S3 or S5 (takawata) - Enable ACPI debugging earlier (with a sysinit) - Fix a deadlock in the EC code (takawata) - Improve arithmetic and reduce the risk of spurious wakeup in AcpiOsSleep. - Add AcpiOsGetThreadId. - Simplify mutex code (still disabled).
Diffstat (limited to 'sys/dev/acpica/acpi_thermal.c')
-rw-r--r--sys/dev/acpica/acpi_thermal.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/acpica/acpi_thermal.c b/sys/dev/acpica/acpi_thermal.c
index 694419e..0475d28 100644
--- a/sys/dev/acpica/acpi_thermal.c
+++ b/sys/dev/acpica/acpi_thermal.c
@@ -39,7 +39,7 @@
/*
* Hooks for the ACPI CA debugging infrastructure
*/
-#define _COMPONENT THERMAL_CONTROL
+#define _COMPONENT ACPI_THERMAL_ZONE
MODULE_NAME("THERMAL")
#define TZ_ZEROC 2732
@@ -76,7 +76,7 @@ static int
acpi_tz_probe(device_t dev)
{
- FUNCTION_TRACE(__FUNCTION__);
+ FUNCTION_TRACE(__func__);
if ((acpi_get_type(dev) == ACPI_TYPE_THERMAL) &&
!acpi_disabled("thermal")) {
@@ -92,7 +92,7 @@ acpi_tz_attach(device_t dev)
struct acpi_tz_softc *sc;
ACPI_STATUS status;
- FUNCTION_TRACE(__FUNCTION__);
+ FUNCTION_TRACE(__func__);
sc = device_get_softc(dev);
sc->tz_dev = dev;
@@ -116,7 +116,7 @@ acpi_tz_check_tripping_point(void *context)
ACPI_STATUS status;
int tp;
- FUNCTION_TRACE(__FUNCTION__);
+ FUNCTION_TRACE(__func__);
sc = device_get_softc(dev);
if ((status = acpi_EvaluateInteger(sc->tz_handle, "_TMP", &tp)) != AE_OK) {
@@ -133,7 +133,7 @@ acpi_tz_check_tripping_point(void *context)
static void
acpi_tz_notify_handler(ACPI_HANDLE h, UINT32 notify, void *context)
{
- FUNCTION_TRACE(__FUNCTION__);
+ FUNCTION_TRACE(__func__);
switch(notify){
case ACPI_TZ_STATUS_CHANGE:
OpenPOWER on IntegriCloud