From owner-cvs-all@FreeBSD.ORG Sun Feb 13 05:34:52 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 EA60B16A4CE; Sun, 13 Feb 2005 05:34:52 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1C5643D2D; Sun, 13 Feb 2005 05:34:52 +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 j1D5YquU060828; Sun, 13 Feb 2005 05:34:52 GMT (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1D5YqPs060827; Sun, 13 Feb 2005 05:34:52 GMT (envelope-from njl) Message-Id: <200502130534.j1D5YqPs060827@repoman.freebsd.org> From: Nate Lawson Date: Sun, 13 Feb 2005 05:34:52 +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/acpica acpi_throttle.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: Sun, 13 Feb 2005 05:34:53 -0000 njl 2005-02-13 05:34:52 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi_throttle.c Log: Be sure to register with cpufreq(4). On systems that only supported throttling, neglecting to do this kept the sysctls from appearing. Attach an acpi_throttle device to each CPU that supports it. Don't add a device if the P_BLK is invalid or if _PTC is not present. This removes extraneous probe/attach failure messages on some machines. Make the cpu throttle state local to the softc to account for partial successes when changing the clock rate on MP machines. Revision Changes Path 1.2 +36 -9 src/sys/dev/acpica/acpi_throttle.c