New cpufreq framework and drivers

Nate Lawson nate at root.org
Tue Feb 1 11:03:03 PST 2005


Eric Anderson wrote:
> Nate Lawson wrote:
> 
>> Nate Lawson wrote:
>>
>>> Below is the first patch of cpufreq for wider testing.  It has the 
>>> framework, cpu pseudodriver updates, and two hardware drivers -- ACPI 
>>> performance states and SpeedStep-ICH.  It has had a lot of testing on 
>>> supported hardware but needs wider testing before importing.  Other 
>>> hardware drivers can be quickly ported to this interface, and I'm 
>>> happy to assist their maintainers.
>>>
>>> http://www.root.org/~nate/freebsd/cpufreq.diff
>>
>>
>>
>> Sorry, I'm so familiar with the interface that I forgot to mention how 
>> to use it.  To test, build a new kernel and modules.  Load one or both 
>> of acpi_perf.ko and cpufreq.ko at boot time.  Type "sysctl dev.cpu" to 
>> see the new freq and freq_levels output.  If you're a driver 
>> maintainer, see sys/cpu.h and speedstep_ich.c or acpi_perf.c for an 
>> example how to provide the driver interface.
>>
> 
> Will this only work on -current, or also 5.3-stable?

It should work on -stable, modulo any diff fuzz.

-- 
Nate


More information about the freebsd-acpi mailing list