From owner-cvs-all@FreeBSD.ORG Thu Feb 17 01:01:41 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 101EB16A4CE; Thu, 17 Feb 2005 01:01:41 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D96BB43D2D; Thu, 17 Feb 2005 01:01:40 +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 j1H11e1r069192; Thu, 17 Feb 2005 01:01:40 GMT (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1H11evU069191; Thu, 17 Feb 2005 01:01:40 GMT (envelope-from njl) Message-Id: <200502170101.j1H11evU069191@repoman.freebsd.org> From: Nate Lawson Date: Thu, 17 Feb 2005 01:01:40 +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/dev/cpufreq ichss.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Feb 2005 01:01:41 -0000 njl 2005-02-17 01:01:40 UTC FreeBSD src repository Modified files: sys/dev/cpufreq ichss.c Log: Fix the check for acpi_perf(4) so that we verify if it is fully attached or just offering info. In the former case, we don't probe/attach to allow the ACPI driver precedence. A refinement of this would be to actually use the info provided by acpi_perf(4) to get the real CPU clock rates instead of estimating them but since all systems that support both acpi_perf(4) and ichss(4) export the control registers to acpi_perf(4), it can just handle the registers on its own. Revision Changes Path 1.4 +14 -4 src/sys/dev/cpufreq/ichss.c