From owner-cvs-src@FreeBSD.ORG Tue Feb 15 07:43:49 2005 Return-Path: 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 CEAD916A4CE; Tue, 15 Feb 2005 07:43:49 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A466B43D2F; Tue, 15 Feb 2005 07:43:49 +0000 (GMT) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1F7hn0j090036; Tue, 15 Feb 2005 07:43:49 GMT (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1F7hnjo090035; Tue, 15 Feb 2005 07:43:49 GMT (envelope-from njl) Message-Id: <200502150743.j1F7hnjo090035@repoman.freebsd.org> From: Nate Lawson Date: Tue, 15 Feb 2005 07:43:48 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_cpu.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 15 Feb 2005 07:43:49 -0000 njl 2005-02-15 07:43:48 UTC FreeBSD src repository Modified files: sys/kern kern_cpu.c Log: When dealing with systems with no absolute drivers attached, only calibrate the rate for the 100% state once. Afterwards, use that value for deriving states. This should fix the problem where the calibrated frequency was different once a switch was done, giving a different set of levels each time. Also, properly search for the right cpufreqX device when detaching. Revision Changes Path 1.7 +23 -11 src/sys/kern/kern_cpu.c