summaryrefslogtreecommitdiffstats
path: root/sys/modules/acpi
Commit message (Collapse)AuthorAgeFilesLines
* Add code for ACPI PCI link object manipulation.iwasaki2002-10-051-0/+1
| | | | | | | | | This allocate the best IRQ to boot-disable devices (have IRQ 0). Allocated IRQ will be used for PCI interrupt routing when ACPI is enabled. Note that verbose messaging enabled for the time being so that people can easily notice the strange behavior if it happened.
* Removed explicit rule for creating a null opt_bus.h. kmod.mk does thisbde2002-08-271-4/+2
| | | | | | | | automatically once opt_foo.h is in SRCS, modulo some carelessness in removing garbage in stale versions of opt_foo.h (touch(1) should not be used to create opt_foo.h in kmod.mk or elsewhere). Cleaned up nearby rule for creating opt_ddb.h.
* Have to create opt_bus.h for sys/bus.h to be happy. *sigh*jhb2002-08-261-1/+3
| | | | Noticed by: imp and others
* Oops, forgot to hook up the ACPI PCI bus in the module.jhb2002-08-261-3/+3
| | | | Noticed by: imp
* Hook up the new ACPI PCI bus and catch up to ACPI PCI bridge driver changes.jhb2002-08-261-1/+1
|
* Resolve conflicts arising from the ACPI CA 20020725 import.iwasaki2002-07-301-16/+26
|
* Resolve conflicts arising from the ACPI CA 20020611 import.iwasaki2002-07-091-1/+1
|
* Add generalized power profile code.iwasaki2002-03-041-1/+1
| | | | | | | | | | | | | This makes other power-management system (APM for now) to be able to generate power profile change events (ie. AC-line status changes), and other kernel components, not only the ACPI components, can be notified the events. - move subroutines in acpi_powerprofile.c (removed) to kern/subr_power.c - call power_profile_set_state() also from APM driver when AC-line status changes - add call-back function for Crusoe LongRun controlling on power profile changes for a example
* Add OS layer ACPI mutex and threading support.iwasaki2001-12-221-0/+6
| | | | | | | | | | | | | | | | | | - 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.
* Add S4BIOS sleep (BIOS hibernation) and DSDT overriding support.iwasaki2001-11-061-0/+1
| | | | | | | | | | | | | | - Add S4BIOS sleep implementation. This will works well if MIB hw.acpi.s4bios is set (and of course BIOS supports it and hibernation is enabled correctly). - Add DSDT overriding support which is submitted by takawata originally. If loader tunable acpi_dsdt_load="YES" and DSDT file is set to acpi_dsdt_name (default DSDT file name is /boot/acpi_dsdt.aml), ACPI CA core loads DSDT from given file rather than BIOS memory block. DSDT file can be generated by iasl in ports/devel/acpicatools/. - Add new files so that we can add our proposed additional code to Intel ACPI CA into these files temporary. They will be removed when similar code is added into ACPI CA officially.
* Update to reflect files added/removed with the 20011018 ACPI CA update.msmith2001-10-311-2/+3
|
* Add APM compatibility feature to ACPI.iwasaki2001-10-261-2/+2
| | | | | | | | | | | | | | | | | This emulates APM device node interface APIs (mainly ioctl) and provides APM services for the applications. The goal is to support most of APM applications without any changes. Implemented ioctls in this commit are: - APMIO_SUSPEND (mapped ACPI S3 as default but changable by sysctl) - APMIO_STANDBY (mapped ACPI S1 as default but changable by sysctl) - APMIO_GETINFO and APMIO_GETINFO_OLD - APMIO_GETPWSTATUS With above, many APM applications which get batteries, ac-line info. and transition the system into suspend/standby mode (such as wmapm, xbatt) should work with ACPI enabled kernel (if ACPI works well :-) Reviewed by: arch@, audit@ and some guys
* Update list of sources to match 20010920 snapshot.msmith2001-10-041-2/+2
|
* Use MACHINE_ARCH instead of MACHINE to fix pc98 module.nyan2001-09-061-3/+3
|
* Update for slightly changed ACPI OSD module. Make debugging code conditionalmsmith2001-08-301-13/+22
| | | | on ACPI_DEBUG, so we can set it in /etc/make.conf.
* Add ACPI S2-S4BIOS Suspend/Resume code.takawata2001-07-201-1/+6
| | | | | | Some problems may remain. Reviewed by:iwasaki
* Ha! This time, I remembered the ACPI module. Update the sources listmsmith2001-07-071-4/+4
| | | | to reflect recent changes in the code.
* Follow Mike's commit by adding acpi_powerres.c.takawata2001-06-281-1/+1
|
* Fix include path for recent acpica update.takawata2001-05-301-1/+1
|
* New files for the ACPI CA 20010518 update.msmith2001-05-291-28/+24
|
* Zap some bad examples:peter2001-02-041-3/+0
| | | | | | opt_foo.h: touch opt_foo.h .. is unnecessary - kmod.mk does this for us.
* Update the module Makefile to reflect the state of things from the lastscottl2001-01-311-4/+4
| | | | | | acpi-ca import. Approved by: msmith
* Use a consistent style and one much closer to the rest of /usr/srcobrien2001-01-061-43/+42
|
* Add ACPI AC adaptor and ACPI Control Method Battery.takawata2000-12-221-0/+1
| | | | And install notify handler for thermal zone .
* Update Makefile to follow acpica-1115 import.takawata2000-12-051-1/+1
|
* Makefile for ACPI CA base acpi driver kernel module.takawata2000-10-311-0/+51
This module is intended to be loaded from /boot/loader,not from kldload(8).
OpenPOWER on IntegriCloud