summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi_powerres.c
Commit message (Collapse)AuthorAgeFilesLines
* Catch up to changes in acpivar.h to add support for using ACPI onjhb2002-10-161-2/+0
| | | | | | 4-stable systems. Sponsored by: The Weather Channel
* Fix a bug about the cooling system controlling in acpi_thermal driver.iwasaki2002-08-271-11/+21
| | | | | | | Recent version of ACPI CA returns the package object which contains object reference elements if the elements are named objects. We need to be careful when you use acpi_ForeachPackageObject() in new code...
* Brutally deal with __func__ being 'const char *' on gcc-3.1.peter2002-05-191-9/+9
|
* Match namespace cleanup changes in ACPI CA 20020217 update.msmith2002-02-231-41/+48
| | | | | Use ACPI_SUCCESS/ACPI_FAILURE consistently. The AcpiGetInto* interfaces are obsoleted by ACPI_ALLOCATE_BUFFER.
* Staticise devclasses and some unnecessarily global variables.msmith2002-01-081-2/+2
|
* Add OS layer ACPI mutex and threading support.iwasaki2001-12-221-0/+3
| | | | | | | | | | | | | | | | | | - Temporary fix a bug of Intel ACPI CA core code. - Add OS layer ACPI mutex support. This can be disabled by specifying option ACPI_NO_SEMAPHORES. - Add ACPI threading support. Now that we have a dedicate taskqueue for ACPI tasks and more ACPI task threads can be created by specifying option ACPI_MAX_THREADS. - Change acpi_EvaluateIntoBuffer() behavior slightly to reuse given caller's buffer unless AE_BUFFER_OVERFLOW occurs. Also CM battery's evaluations were changed to use acpi_EvaluateIntoBuffer(). - Add new utility function acpi_ConvertBufferToInteger(). - Add simple locking for CM battery and temperature updating. - Fix a minor problem on EC locking. - Make the thermal zone polling rate to be changeable. - Change minor things on AcpiOsSignal(); in ACPI_SIGNAL_FATAL case, entering Debugger is easier to investigate the problem rather than panic.
* Use return_PTR, not return_VALUE when returning pointers.dfr2001-10-041-2/+2
|
* Updates to match the ACPI CA 20010816 import:msmith2001-08-261-48/+48
| | | | | - New debug macro (ACPI_DEBUG_PRINT), reducing debug-case code size. - New debug level/subsystem codes.
* Fix error checking about device state transition from D0 to D3.iwasaki2001-08-211-4/+27
| | | | | | Turn off the resources listed in _PR0 to go to D3 if we don't have _PR3/_PS3. Reviewed by: msmith
* Convert from acpi_strerror() to AcpiFormatException()msmith2001-07-211-3/+3
| | | | Fix dangling include of the dear departed acpi_ecreg.h
* Whoops; we get an ACPI_OBJECT back from evaluating a method, notmsmith2001-07-091-8/+6
| | | | | | an ACPI_OPERAND_OBJECT. Fix this so that the power resource type can be properly checked, and we can get the system level and resource order.
* This was only half-implemented when I committed it, and certainly didn'tmsmith2001-07-061-30/+92
| | | | work. Now it's implemented and seems to work.
* Update for new debug layer constant names in the ACPI CA 20010615msmith2001-06-291-1/+1
| | | | import.
* Sync to my work in progress:msmith2001-06-281-0/+553
- Reorder the acpi_* functions in a sensible fashion - Add acpi_ForeachPackageObject and acpi_GetHandleInScope - Use the new debugging layer/level names - Implement most of the guts of the acpi_thermal module; passive cooling isn't there yet, but active cooling should work. - Implement power resource handling (acpi_powerres.c) This compiles and mostly works, but my test coverage is small, so feedback is welcome.
OpenPOWER on IntegriCloud