Date: Mon, 07 Feb 2005 07:33:56 -0800 From: Nate Lawson <nate@root.org> To: Anish Mistry <mistry.7@osu.edu> Cc: freebsd-acpi@freebsd.org Subject: Re: HEADSUP: cpufreq import complete, acpi_throttling changed Message-ID: <42078A64.5070200@root.org> In-Reply-To: <200502070837.58319.mistry.7@osu.edu> References: <42068A5C.1030300@root.org> <200502070837.58319.mistry.7@osu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Anish Mistry wrote: > On Sunday 06 February 2005 04:21 pm, Nate Lawson wrote: > >>I'd also like to issue a call for developers to help by porting older >>drivers (like longrun) and out-of-tree new drivers (like powernow-k7/k8 >>and speedstep-m) to the cpufreq interface. It's very simple and you >>just have to figure out if your driver is absolute or relative, and >>convert values to the proper units (percent in hundredths, power in mW, >>etc.) Once that is done, please send me the diff for review before >>commit so I can make sure it works properly. >> > > I'm interested in porting Longrun to the new framework. So all that is need > is just to expose the existing sysctl values hw.crusoe through the acpi_perf > framework and some minor conversion if necessary? Sort of. It's more than sysctls, that's why it took so long. :) Just implement the 3 methods cpufreq_drv_settings, cpufreq_drv_get, and cpufreq_drv_set as well as make the driver probe under cpu0 instead of through a SYSINIT (see foo_identify() in the drivers). -- Nate
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42078A64.5070200>