summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi_timer.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_timer.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_timer.c')
-rw-r--r--sys/dev/acpica/acpi_timer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/acpica/acpi_timer.c b/sys/dev/acpica/acpi_timer.c
index 5efae58..9581dae 100644
--- a/sys/dev/acpica/acpi_timer.c
+++ b/sys/dev/acpica/acpi_timer.c
@@ -39,7 +39,7 @@
/*
* Hooks for the ACPI CA debugging infrastructure
*/
-#define _COMPONENT SYSTEM_CONTROL
+#define _COMPONENT ACPI_SYSTEM
MODULE_NAME("TIMER")
#define ACPITIMER_MAGIC 0x524d4954 /* "TIMR" */
@@ -76,7 +76,7 @@ acpi_timer_identify(driver_t *driver, device_t parent)
device_t dev;
char desc[40];
- FUNCTION_TRACE(__FUNCTION__);
+ FUNCTION_TRACE(__func__);
if (acpi_disabled("timer"))
return_VOID;
@@ -112,7 +112,7 @@ acpi_timer_attach(device_t dev)
{
struct acpi_timer_softc *sc;
- FUNCTION_TRACE(__FUNCTION__);
+ FUNCTION_TRACE(__func__);
sc = device_get_softc(dev);
sc->tm_dev = dev;
OpenPOWER on IntegriCloud