acpi_cpu: Split C-State support out of cpu driver.
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 29 May 2009 05:10:58 +0000 (13:10 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 29 May 2009 05:10:59 +0000 (13:10 +0800)
commitcc6e2b6eabcd33b4a2d7d37eb700bcd45e057d85
tree3532b6588af1386c5919837fb5fe707667b7b0b2
parent42bb6c2e2d9bf4aec51c6c9718f25e37752544db
acpi_cpu: Split C-State support out of cpu driver.

New cpu driver only contains minimum code to detect processor object,
and create necessary cpu sysctl nodes; this paves the way for the
P-State support.

Noticable changes to the userland:
- hw.cpuX sysctl trees are move to hw.acpi.cpuX
- C-State support could be disabled individually by "cpu_cst"
- The device tree is now acpi0.cpuX.cpu_cstX, instead of acpi0.cpuX
share/man/man4/acpi.4
sys/dev/acpica5/Makefile
sys/dev/acpica5/acpi_cpu.c
sys/dev/acpica5/acpi_cpu.h [new file with mode: 0644]
sys/dev/acpica5/acpi_cpu_cstate.c [copied from sys/dev/acpica5/acpi_cpu.c with 89% similarity]