summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi_cmbat.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_cmbat.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_cmbat.c')
-rw-r--r--sys/dev/acpica/acpi_cmbat.c6
1 files changed, 6 insertions, 0 deletions
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 <dev/acpica/acpivar.h>
#include <dev/acpica/acpiio.h>
+/*
+ * 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 *);
OpenPOWER on IntegriCloud