From owner-cvs-all@FreeBSD.ORG Fri Sep 17 04:20:31 2004 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 AC20B16A4CE; Fri, 17 Sep 2004 04:20:31 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CAD343D31; Fri, 17 Sep 2004 04:20:31 +0000 (GMT) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i8H4KV7h063652; Fri, 17 Sep 2004 04:20:31 GMT (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i8H4KVxj063651; Fri, 17 Sep 2004 04:20:31 GMT (envelope-from njl) Message-Id: <200409170420.i8H4KVxj063651@repoman.freebsd.org> From: Nate Lawson Date: Fri, 17 Sep 2004 04:20:31 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/sys/dev/acpica acpi_powerres.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: Fri, 17 Sep 2004 04:20:31 -0000 njl 2004-09-17 04:20:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/dev/acpica acpi_powerres.c Log: MFC rev 1.27: Instead of trusting _STA from power resources, cache the first value returned and then infer the state from calls to _ON/_OFF. Approved by: re (scottl) Revision Changes Path 1.26.2.1 +11 -5 src/sys/dev/acpica/acpi_powerres.c