From owner-cvs-all@FreeBSD.ORG Fri Dec 3 21:19:42 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 206D816A4CF for ; Fri, 3 Dec 2004 21:19:42 +0000 (GMT) Received: from mail1.speakeasy.net (mail1.speakeasy.net [216.254.0.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACAE543D4C for ; Fri, 3 Dec 2004 21:19:40 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 20861 invoked from network); 3 Dec 2004 21:19:37 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 3 Dec 2004 21:19:36 -0000 Received: from qa4379.itdev.weather.com (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id iB3LJHiG015218; Fri, 3 Dec 2004 16:19:24 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Nate Lawson Date: Fri, 3 Dec 2004 14:33:09 -0500 User-Agent: KMail/1.6.2 References: <200412020804.iB284vFx055098@repoman.freebsd.org> In-Reply-To: <200412020804.iB284vFx055098@repoman.freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200412031433.10222.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/acpica acpi_if.m 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, 03 Dec 2004 21:19:42 -0000 On Thursday 02 December 2004 03:04 am, Nate Lawson wrote: > njl 2004-12-02 08:04:57 UTC > > FreeBSD src repository > > Modified files: > sys/dev/acpica acpi_if.m > Log: > Add the ACPI_PWR_FOR_SLEEP method. It takes a device and outputs the > appropriate power (Dx) state, if the BIOS suggests one. Should this really be ACPI specific? Why not add a method that pci bridges pass to their parent that will bubble up to the host-pci bridge's parent (acpi0, legacy0, etc.) that determines which sleep state should be used? This would let open firmware machines manage this stuff in their nexus0 for example if they wanted. It would be a pci bus method that the platform drivers would implement as well in that model, and wouldn't be ACPI specific. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org