summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2003-09-26 04:32:40 +0000
committernjl <njl@FreeBSD.org>2003-09-26 04:32:40 +0000
commit1e9a7a2d2d4ca5fce37c54a0da58fc3beb992266 (patch)
tree8471970246660f517277a3d4eb8765f8e3b3dec2
parentf89495ae82b5f2c2cbda952187c3cfa8b25be42c (diff)
downloadFreeBSD-src-1e9a7a2d2d4ca5fce37c54a0da58fc3beb992266.zip
FreeBSD-src-1e9a7a2d2d4ca5fce37c54a0da58fc3beb992266.tar.gz
Sort debugging levels and update the man page to match reality. Also
update man page to reflect iasl(8) import.
-rw-r--r--share/man/man4/acpi.471
-rw-r--r--sys/dev/acpica/acpi.c5
2 files changed, 41 insertions, 35 deletions
diff --git a/share/man/man4/acpi.4 b/share/man/man4/acpi.4
index 216388c..43e6e5c 100644
--- a/share/man/man4/acpi.4
+++ b/share/man/man4/acpi.4
@@ -88,10 +88,14 @@ The supported layers are:
.It
.Li ACPI_RESOURCES
.It
-.Li ACPI_DEBUGGER
+.Li ACPI_CA_DEBUGGER
.It
.Li ACPI_OS_SERVICES
.It
+.Li ACPI_CA_DISASSEMBLER
+.It
+.Li ACPI_ALL_COMPONENTS
+.It
.Li ACPI_BUS
.It
.Li ACPI_SYSTEM
@@ -112,35 +116,33 @@ The supported layers are:
.It
.Li ACPI_FAN
.It
-.Li ACPI_ALL_COMPONENTS
+.Li ACPI_ALL_DRIVERS
.El
.Pp
The supported levels are:
.Pp
.Bl -item -offset indent -compact
.It
-.Li ACPI_LV_OK
-.It
-.Li ACPI_LV_INFO
+.Li ACPI_LV_ERROR
.It
.Li ACPI_LV_WARN
.It
-.Li ACPI_LV_ERROR
-.It
-.Li ACPI_LV_FATAL
+.Li ACPI_LV_INIT
.It
.Li ACPI_LV_DEBUG_OBJECT
.It
+.Li ACPI_LV_INFO
+.It
.Li ACPI_LV_ALL_EXCEPTIONS
.It
-.Li ACPI_LV_THREADS
+.Li ACPI_LV_INIT_NAMES
.It
.Li ACPI_LV_PARSE
.It
-.Li ACPI_LV_DISPATCH
-.It
.Li ACPI_LV_LOAD
.It
+.Li ACPI_LV_DISPATCH
+.It
.Li ACPI_LV_EXEC
.It
.Li ACPI_LV_NAMES
@@ -149,43 +151,49 @@ The supported levels are:
.It
.Li ACPI_LV_BFIELD
.It
-.Li ACPI_LV_TRASH
-.It
.Li ACPI_LV_TABLES
.It
-.Li ACPI_LV_FUNCTIONS
-.It
.Li ACPI_LV_VALUES
.It
.Li ACPI_LV_OBJECTS
.It
-.Li ACPI_LV_ALLOCATIONS
-.It
.Li ACPI_LV_RESOURCES
.It
-.Li ACPI_LV_IO
-.It
-.Li ACPI_LV_INTERRUPTS
-.It
.Li ACPI_LV_USER_REQUESTS
.It
.Li ACPI_LV_PACKAGE
.It
-.Li ACPI_LV_MUTEX
+.Li ACPI_LV_VERBOSITY1
.It
-.Li ACPI_LV_INIT
+.Li ACPI_LV_ALLOCATIONS
+.It
+.Li ACPI_LV_FUNCTIONS
+.It
+.Li ACPI_LV_OPTIMIZATIONS
+.It
+.Li ACPI_LV_VERBOSITY2
.It
.Li ACPI_LV_ALL
.It
-.Li ACPI_DB_AML_DISASSEMBLE
+.Li ACPI_LV_MUTEX
+.It
+.Li ACPI_LV_THREADS
+.It
+.Li ACPI_LV_IO
+.It
+.Li ACPI_LV_INTERRUPTS
+.It
+.Li ACPI_LV_VERBOSITY3
+.It
+.Li ACPI_LV_AML_DISASSEMBLE
.It
-.Li ACPI_DB_VERBOSE_INFO
+.Li ACPI_LV_VERBOSE_INFO
.It
-.Li ACPI_DB_FULL_TABLES
+.Li ACPI_LV_FULL_TABLES
.It
-.Li ACPI_DB_EVENTS
+.Li ACPI_LV_EVENTS
.It
-.Li ACPI_DB_VERBOSE
+.Li ACPI_LV_VERBOSE
.El
.Pp
Selection of the appropriate layer and level values is important
@@ -290,9 +298,7 @@ In order to prepare your AML code, you will need the
.Xr acpidump 8
and
.Xr iasl 1
-utilities from the
-.Pa devel/acpicatools
-port, and some ACPI knowledge.
+utilities and some ACPI knowledge.
.Sh TUNABLES
.Bl -tag -width indent
.It Va acpi_dsdt_load
@@ -328,7 +334,8 @@ ACPI is only found/supported on i386/ia32, ia64 and amd64.
.Xr loader.conf 5 ,
.Xr acpiconf 8 ,
.Xr acpidump 8 ,
-.Xr config 8
+.Xr config 8 ,
+.Xr iasl 8
.Rs
.%A "Compaq Computer Corporation"
.%A "Intel Corporation"
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index a6c1108..cc1c0e8 100644
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -2081,6 +2081,7 @@ static struct debugtag dbg_layer[] = {
{"ACPI_CA_DEBUGGER", ACPI_CA_DEBUGGER},
{"ACPI_OS_SERVICES", ACPI_OS_SERVICES},
{"ACPI_CA_DISASSEMBLER", ACPI_CA_DISASSEMBLER},
+ {"ACPI_ALL_COMPONENTS", ACPI_ALL_COMPONENTS},
{"ACPI_BUS", ACPI_BUS},
{"ACPI_SYSTEM", ACPI_SYSTEM},
@@ -2092,9 +2093,7 @@ static struct debugtag dbg_layer[] = {
{"ACPI_PROCESSOR", ACPI_PROCESSOR},
{"ACPI_THERMAL", ACPI_THERMAL},
{"ACPI_FAN", ACPI_FAN},
-
{"ACPI_ALL_DRIVERS", ACPI_ALL_DRIVERS},
- {"ACPI_ALL_COMPONENTS", ACPI_ALL_COMPONENTS},
{NULL, 0}
};
@@ -2107,6 +2106,7 @@ static struct debugtag dbg_level[] = {
{"ACPI_LV_ALL_EXCEPTIONS", ACPI_LV_ALL_EXCEPTIONS},
/* Trace verbosity level 1 [Standard Trace Level] */
+ {"ACPI_LV_INIT_NAMES", ACPI_LV_INIT_NAMES},
{"ACPI_LV_PARSE", ACPI_LV_PARSE},
{"ACPI_LV_LOAD", ACPI_LV_LOAD},
{"ACPI_LV_DISPATCH", ACPI_LV_DISPATCH},
@@ -2120,7 +2120,6 @@ static struct debugtag dbg_level[] = {
{"ACPI_LV_RESOURCES", ACPI_LV_RESOURCES},
{"ACPI_LV_USER_REQUESTS", ACPI_LV_USER_REQUESTS},
{"ACPI_LV_PACKAGE", ACPI_LV_PACKAGE},
- {"ACPI_LV_INIT_NAMES", ACPI_LV_INIT_NAMES},
{"ACPI_LV_VERBOSITY1", ACPI_LV_VERBOSITY1},
/* Trace verbosity level 2 [Function tracing and memory allocation] */
OpenPOWER on IntegriCloud