cvs commit: src/sys/dev/acpica acpi_if.m

John Baldwin jhb at FreeBSD.org
Fri Dec 3 13:19:42 PST 2004


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 at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the cvs-all mailing list