git: kernel/acpi: Improve the disabling of Debug object output.

Sascha Wildner swildner at
Tue May 20 12:56:07 PDT 2014

commit 586fced21e39bbdac0482f742fdb13fdf39506cc
Author: Sascha Wildner <saw at>
Date:   Tue May 20 21:55:52 2014 +0200

    kernel/acpi: Improve the disabling of Debug object output.
    It is actually a global in ACPICA (since 20100304) so add a new
    sysctl debug.acpi.enable_debug_objects that can be used to toggle
    it, with the default being 0.
    Unlike the previous attempt (which I had to revert again), this
    time also clear ACPI_LV_DEBUG_OBJECT in the AcpiDbgLevel global in
    case ACPI_DEBUG is not defined. My assumption that ACPICA would
    initialize AcpiDbgLevel to 0 was wrong. It really is initialized
    to ACPI_NORMAL_DEFAULT. It is kind of weird that
    leave the other bits in AcpiDbgLevel set for now.
    This commit reverts (again) a previous commit by sephe which solved
    it differently (in the ACPICA code).
    Taken-from:    FreeBSD (with modification by me)
    Dragonfly-bug: <>

Summary of changes:
 share/man/man4/acpi.4                            |  6 +++-
 sys/contrib/dev/acpica/source/include/acoutput.h |  8 ++----
 sys/dev/acpica/acpi.c                            | 36 ++++++++++++++++++++++++
 3 files changed, 43 insertions(+), 7 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list