Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Feb 2006 17:01:08 +0100
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        Ceri Davies <ceri@submonkey.net>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/powerd powerd.c
Message-ID:  <86irrcr70b.fsf@xps.des.no>
In-Reply-To: <20060218115230.GI80729@submonkey.net> (Ceri Davies's message of "Sat, 18 Feb 2006 11:52:30 %2B0000")
References:  <200602181135.k1IBZCOR021711@repoman.freebsd.org> <20060218115230.GI80729@submonkey.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Ceri Davies <ceri@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") =3D=3D -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
--=20
Dag-Erling Sm=F8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86irrcr70b.fsf>