diff options
| author | Scott Long <scottl@FreeBSD.org> | 2004-12-13 03:22:11 +0000 |
|---|---|---|
| committer | Scott Long <scottl@FreeBSD.org> | 2004-12-13 03:22:11 +0000 |
| commit | 82d4da0f73d9e74735bf0f64a1670e601424a97b (patch) | |
| tree | 99d27c4d3912e7df1a8351ab9c8ea7fdf6e0d7e5 /sys/dev/acpi_support | |
| parent | d0a9f61fea88fee417309b8b51b23ff59ebf5172 (diff) | |
Notes
Diffstat (limited to 'sys/dev/acpi_support')
| -rw-r--r-- | sys/dev/acpi_support/acpi_ibm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/acpi_support/acpi_ibm.c b/sys/dev/acpi_support/acpi_ibm.c index 97e5f308d850..e679efb21039 100644 --- a/sys/dev/acpi_support/acpi_ibm.c +++ b/sys/dev/acpi_support/acpi_ibm.c @@ -38,6 +38,9 @@ #include <sys/sysctl.h> #include <machine/clock.h> +#define _COMPONENT ACPI_IBM +ACPI_MODULE_NAME("IBM") + #define IBM_RTC_MISCKEY 0x65 #define IBM_RTC_BRIGHTNESS 0x6c #define IBM_RTC_MASK_BRI 0x7 @@ -252,6 +255,8 @@ fail: static int acpi_ibm_detach(device_t dev) { + ACPI_FUNCTION_TRACE((char *)(uintptr_t) __func__); + struct acpi_ibm_softc *sc = device_get_softc(dev); acpi_SetInteger(acpi_get_handle(dev), IBM_NAME_ENABLE, 0); acpi_ibm_enable_mask(dev, sc->ibm_initialmask); |
