Commit Graph

6 Commits

Author SHA1 Message Date
jruoho
2052593844 Now that we have 1:1 mapping between handles and nodes, use the former for
all power resource operations. Eliminates the wrapper functions.
2010-06-07 17:28:17 +00:00
jruoho
9c09c7fc2c Refactor slightly: we need to expose the function that turns individual
power resource on or off.
2010-06-07 14:07:25 +00:00
jruoho
4333086998 Build the power resource queue dynamically. This eliminates the need to call
acpi_power_res_add() in the main scan function, also saving few bytes of
memory.
2010-06-07 13:04:31 +00:00
jruoho
1b81a62b62 Now that we are able to remove references to power resources, provide a
detachment routine for acpitz(4). Add comments explaining the relationship
between power resources and active cooling. Also some improvements to code
readability.
2010-04-24 06:31:44 +00:00
jruoho
16bdc3ff0f Add hw.acpi.power sysctl-node. 2010-04-23 18:51:31 +00:00
jruoho
9ddf2c5165 Merge new code for ACPI power resources.
The old code served us well, but a major overhaul would have been needed for
it to cope with the increased demands of the code -- and the specifications.

ok jmcneill@, pgoyette@
2010-04-22 18:40:09 +00:00