Received: by mail.netbsd.org (Postfix, from userid 0) id 6B3C763B2F7; Mon, 31 May 2010 20:10:58 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 96CB763B2EF for ; Mon, 31 May 2010 20:10:56 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 7823B175DD; Mon, 31 May 2010 20:10:56 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: binary Content-Type: text/plain Date: Mon, 31 May 2010 20:10:56 +0000 From: Jukka Ruohonen Subject: CVS commit: src/sys/dev/acpi To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20100531201056.7823B175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: list Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: Jukka Ruohonen Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: jruoho Date: Mon May 31 20:10:56 UTC 2010 Modified Files: src/sys/dev/acpi: acpi_power.c Log Message: Silently return if a power state transition is requested for a device that has no support for it. For example, in Kurt Schreiner's Shuttle G61: Device (FAN) { Name (_HID, EisaId ("PNP0C0B")) Method (_INI, 0, NotSerialized) { Store (TP1H, CTOS) Store (TP1L, CTHY) } } Obviously acpitz(4) has little use for a device that only contains _INI. (The handle of this device is referenced incorrectly in _AL0.) To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/dev/acpi/acpi_power.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.