Date: Fri, 8 Dec 2000 01:16:21 -0800 (PST) From: Mike Smith <msmith@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/acpica acpi.c acpi_button.c acpi_ec.c acpi_isa.c acpi_lid.c acpi_pcib.c acpi_processor.c acpi_resource.c acpi_thermal.c acpi_timer.c acpiio.h acpivar.h Message-ID: <200012080916.eB89GLa03357@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
msmith 2000/12/08 01:16:21 PST
Modified files:
sys/dev/acpica acpi.c acpi_button.c acpi_ec.c acpi_isa.c
acpi_lid.c acpi_pcib.c acpi_processor.c
acpi_resource.c acpi_thermal.c
acpi_timer.c acpiio.h acpivar.h
Log:
- Convert a lot of homebrew debugging output to use the ACPI CA debugging
infrastructure. It's not perfect, but it's a lot better than what
we've been using so far. The following rules apply to this:
o BSD component names should be capitalised
o Layer names should be taken from the non-CA set for now. We
may elect to add some new BSD-specific layers later.
- Make it possible to turn off selective debugging flags or layers
by listing them in debug.acpi.layer or debug.acpi.level prefixed
with !.
- Fully implement support for avoiding nodes in the ACPI namespace.
Nodes may be listed in the debug.acpi.avoid environment variable;
these nodes and all their children will be ignored (although still
scanned over) by ACPI functions which scan the namespace. Multiple
nodes can be specified, separated by whitespace.
- Implement support for selectively disabling ACPI subsystem components
via the debug.acpi.disable environment variable. The following
components can be disabled:
o bus creation/scanning of the ACPI 'bus'
o children attachment of children to the ACPI 'bus'
o button the acpi_button control-method button driver
o ec the acpi_ec embedded-controller driver
o isa acpi replacement of PnP BIOS for ISA device discovery
o lid the control-method lid switch driver
o pci pci root-bus discovery
o processor CPU power/speed management
o thermal system temperature detection and control
o timer ACPI timecounter
Multiple components may be disabled by specifying their name(s)
separated by whitespace.
- Add support for ioctl registration. ACPI subsystem components may
register ioctl handlers with the /dev/acpi generic ioctl handler,
allowing us to avoid the need for a multitude of /dev/acpi* control
devices, etc.
Revision Changes Path
1.6 +222 -47 src/sys/dev/acpica/acpi.c
1.2 +36 -18 src/sys/dev/acpica/acpi_button.c
1.3 +33 -16 src/sys/dev/acpica/acpi_ec.c
1.3 +52 -20 src/sys/dev/acpica/acpi_isa.c
1.2 +22 -6 src/sys/dev/acpica/acpi_lid.c
1.4 +18 -7 src/sys/dev/acpica/acpi_pcib.c
1.3 +37 -15 src/sys/dev/acpica/acpi_processor.c
1.2 +35 -56 src/sys/dev/acpica/acpi_resource.c
1.2 +19 -7 src/sys/dev/acpica/acpi_thermal.c
1.3 +21 -6 src/sys/dev/acpica/acpi_timer.c
1.2 +8 -1 src/sys/dev/acpica/acpiio.h
1.2 +4 -3 src/sys/dev/acpica/acpivar.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012080916.eB89GLa03357>
