cvs commit: src/usr.sbin/powerd powerd.c

Dag-Erling Smørgrav des at des.no
Sat Feb 18 08:01:14 PST 2006


Ceri Davies <ceri at submonkey.net> writes:
> On Sat, Feb 18, 2006 at 11:35:12AM +0000, Dag-Erling Smorgrav wrote:
> > | +	/* Make sure the cpufreq module is loaded */
> > | +	if (!kld_isloaded("cpu/p4tcc") && kld_load("cpufreq") == -1)
>                            ^^^^^^^^^
> Did you really mean that?

hmm, no, p4tcc is i386-only; ichss is a better choice.

unfortunately, cpu/cpufreq is only an attachment point, and is present
whether or not the module is loaded, so we can't use that.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the cvs-src mailing list