Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Dec 2004 14:33:09 -0500
From:      John Baldwin <jhb@FreeBSD.org>
To:        Nate Lawson <njl@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/acpica acpi_if.m
Message-ID:  <200412031433.10222.jhb@FreeBSD.org>
In-Reply-To: <200412020804.iB284vFx055098@repoman.freebsd.org>
References:  <200412020804.iB284vFx055098@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412031433.10222.jhb>