From owner-cvs-all@FreeBSD.ORG Fri Apr 25 16:45:14 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F75E106566C; Fri, 25 Apr 2008 16:45:14 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E564E8FC1C; Fri, 25 Apr 2008 16:45:13 +0000 (UTC) (envelope-from rpaulo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m3PGjDuR049967; Fri, 25 Apr 2008 16:45:13 GMT (envelope-from rpaulo@repoman.freebsd.org) Received: (from rpaulo@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m3PGjD6x049966; Fri, 25 Apr 2008 16:45:13 GMT (envelope-from rpaulo) Message-Id: <200804251645.m3PGjD6x049966@repoman.freebsd.org> From: Rui Paulo Date: Fri, 25 Apr 2008 16:45:13 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/acpica acpi_thermal.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 25 Apr 2008 16:45:14 -0000 rpaulo 2008-04-25 16:45:13 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi_thermal.c Log: Initialize tz_active to a new constant TZ_ACTIVE_UNKNOWN and make no assumptions about the state of the cooling devices. Instead, switch them off on init and, only after that, we are in TZ_ACTIVE_NONE. Submited by: Andriy Gapon Reviewed by: njl Revision Changes Path 1.70 +20 -1 src/sys/dev/acpica/acpi_thermal.c