From 7996f19f432a6f4cf9a62d6121b95f412a9828bb Mon Sep 17 00:00:00 2001 From: msmith Date: Tue, 29 May 2001 20:13:42 +0000 Subject: - 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). --- sys/dev/acpica/acpi_cmbat.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sys/dev/acpica/acpi_cmbat.c') diff --git a/sys/dev/acpica/acpi_cmbat.c b/sys/dev/acpica/acpi_cmbat.c index 4c26305..f85ddd5 100644 --- a/sys/dev/acpica/acpi_cmbat.c +++ b/sys/dev/acpica/acpi_cmbat.c @@ -44,6 +44,12 @@ #include #include +/* + * Hooks for the ACPI CA debugging infrastructure + */ +#define _COMPONENT ACPI_BATTERY +MODULE_NAME("BATTERY") + static void acpi_cmbat_get_bst(void *); static void acpi_cmbat_get_bif(void *); static void acpi_cmbat_notify_handler(ACPI_HANDLE, UINT32, void *); -- cgit v1.1