Make acpi(4) debug aware of ACPI_DISPLAY_COMPONENT.

This commit is contained in:
gsutre 2010-10-27 14:39:26 +00:00
parent 9150ddda9b
commit f32ca0cfec
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: acpi.4,v 1.60 2010/10/24 08:31:49 jruoho Exp $
.\" $NetBSD: acpi.4,v 1.61 2010/10/27 14:39:26 gsutre Exp $
.\"
.\" Copyright (c) 2002, 2004, 2010 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -445,6 +445,7 @@ For the first two variables, the possible values are:
.It Li ACPI_LID_COMPONENT Ta ACPI_LV_OPTIMIZATIONS
.It Li ACPI_RESOURCE_COMPONENT Ta ACPI_LV_VERBOSITY2 *
.It Li ACPI_TZ_COMPONENT Ta
.It Li ACPI_DISPLAY_COMPONENT Ta
.It Li ACPI_ALL_DRIVERS * Ta ACPI_LV_MUTEX
.It Ta ACPI_LV_THREADS
.It Ta ACPI_LV_IO

View File

@ -1,4 +1,4 @@
/* $NetBSD: acpi_debug.c,v 1.3 2010/06/30 07:42:36 jruoho Exp $ */
/* $NetBSD: acpi_debug.c,v 1.4 2010/10/27 14:39:26 gsutre Exp $ */
/*-
* Copyright (c) 2010 Jukka Ruohonen <jruohonen@iki.fi>
@ -27,7 +27,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: acpi_debug.c,v 1.3 2010/06/30 07:42:36 jruoho Exp $");
__KERNEL_RCSID(0, "$NetBSD: acpi_debug.c,v 1.4 2010/10/27 14:39:26 gsutre Exp $");
#include <sys/param.h>
#include <sys/sysctl.h>
@ -183,6 +183,7 @@ acpi_debug_create(void)
ACPI_DEBUG_ADD(acpi_debug_layer_d, ACPI_LID_COMPONENT);
ACPI_DEBUG_ADD(acpi_debug_layer_d, ACPI_RESOURCE_COMPONENT);
ACPI_DEBUG_ADD(acpi_debug_layer_d, ACPI_TZ_COMPONENT);
ACPI_DEBUG_ADD(acpi_debug_layer_d, ACPI_DISPLAY_COMPONENT);
ACPI_DEBUG_ADD(acpi_debug_layer_d, ACPI_ALL_DRIVERS);
/*