[linux-pm] [RFC] A New Power Management API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2005-04-15 at 09:16 -0400, Daniel Petrini wrote:
> Hi,
> 
> Suggestion: as discussed in early weeks, why don't adopt names taking
> into consideration that Linux can run in systems other than desktops
> and servers?
> 
> #define PM_SYSTEM_STATE_SUSPEND_RAM     0x00000010
> #define PM_SYSTEM_STATE_SUSPEND_DISK    0x00000020
> 
> PM_SYSTEM_STATE_SUSPEND_DISK an be something like
> PM_SYSTEM_STATE_DEEP_SUSPEND and so on...
> 
> So you can have better acceptance of people working in other areas.
> 
> My two cents.
> Regards,
> 
> Daniel Petrini

My idea here was to provide some optional flags that describe
characteristics of a given system-specific state.  They may need to be
revised, but the intention was to provide meaningful information to
drivers without architecture specific code.  Architecture-specific
drivers will likely ignore these and pay more attention to the state
number.

Thanks,
Adam



[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux