From owner-cvs-src@FreeBSD.ORG Sat Feb 18 16:01:14 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40D6616A422; Sat, 18 Feb 2006 16:01:14 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id C37D643D48; Sat, 18 Feb 2006 16:01:13 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 41D9A2094; Sat, 18 Feb 2006 17:01:09 +0100 (CET) X-Spam-Tests: AWL,BAYES_00,FORGED_RCVD_HELO X-Spam-Learn: ham X-Spam-Score: -3.1/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on tim.des.no Received: from xps.des.no (des.no [80.203.243.180]) by tim.des.no (Postfix) with ESMTP id 2A0D32092; Sat, 18 Feb 2006 17:01:09 +0100 (CET) Received: by xps.des.no (Postfix, from userid 1001) id 0C9A333C4C; Sat, 18 Feb 2006 17:01:09 +0100 (CET) To: Ceri Davies References: <200602181135.k1IBZCOR021711@repoman.freebsd.org> <20060218115230.GI80729@submonkey.net> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Sat, 18 Feb 2006 17:01:08 +0100 In-Reply-To: <20060218115230.GI80729@submonkey.net> (Ceri Davies's message of "Sat, 18 Feb 2006 11:52:30 +0000") Message-ID: <86irrcr70b.fsf@xps.des.no> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/powerd powerd.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Feb 2006 16:01:14 -0000 Ceri Davies 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