summaryrefslogtreecommitdiffstats
path: root/sys/modules/acpi
Commit message (Collapse)AuthorAgeFilesLines
* Start the dreaded NOFOO -> NO_FOO conversion.ru2004-12-211-1/+1
| | | | OK'ed by: core
* Make this compile when you don't have /sys.imp2004-12-131-1/+1
|
* Remove the addition of ACPI_DEBUG that was accidentally added in the lastscottl2004-12-131-1/+1
| | | | commit.
* Allow the acpi_ibm module to be built with ACPI_DEBUG.scottl2004-12-131-0/+1
|
* Make sure that opt_ddb.h exists so that this will compile with ACPI_DEBUGscottl2004-12-131-1/+2
|
* Connect acpi_ibm to build.takawata2004-12-091-1/+1
| | | | Submitted by: rushani, sumikawa
* Add IBM Laptop extra device driver.takawata2004-12-091-0/+8
| | | | | | This depends on ACPI and RTC registers. Reviewed by: njl
* this should have been deleted a while agoimp2004-11-181-9/+0
|
* PC98 does not have ACPI.nyan2004-11-151-1/+1
|
* After discussions with Nate, repo copy the acpi assist drivers fromimp2004-11-155-4/+13
| | | | | | | | | | i386 to dev/acpi_support. In theory, these devices could be found other than in i386 machines only as amd64 becomes more popular. These drivers don't appear to do anything i386 specific, so move them to dev/acpi_support. Move config lines to files so that those architectures that don't support kernel modules can build them into the kernel. At the same time, rename acpi_snc to acpi_sony to follow the lead of all the other specialty devices.
* Make it clear that the acpi modules can only be compiled on i386.scottl2004-11-141-0/+8
|
* Commit takawata-san's Sony Notebook Controller driver, integrated intoimp2004-11-112-1/+10
| | | | | | | | the tree. Small tweaks were made by myself to eliminate unnecessary includes and some other minor issues. Last time I asked takawata-san about this driver, he suggested I commit it. Submitted by: takawata
* Bump WARNS to 2 for all other ACPI drivers and minor cleanup.njl2004-08-034-16/+20
|
* Add the ACPI Panasonic extras driver.nyan2004-07-212-1/+10
| | | | Submitted by: OGAWA Takaya <t-ogawa@triaez.kaisei.org> and nyan
* Set WARNS=2 for the module build of ACPI.marks2004-07-011-0/+1
| | | | Approved by: njl
* Add glue for building acpi_quirk.cnjl2004-06-301-2/+2
|
* Add acpi_if.h dependencies to module build.njl2004-06-294-4/+5
|
* Enable the led-toggling magic. Compiling files which are in the kernel intophilip2004-04-231-3/+2
| | | | | | | | | modules is a very nice way to produce hard-to-find panics. Who would look for a bug in a Makefile anyway? Has anyone seen the pointy hat? :-o Approved by: njl (mentor)
* Hook up acpi_asus and its manual page in two more places I managed to overlookphilip2004-04-231-1/+1
| | | | | | last night. Sorry about that :-o Spotted by: njl (mentor, spotter of forgetfulness)
* Missed this out in my last commit. Makefile for the acpi_asus driver.philip2004-04-221-0/+10
|
* Divide the drivers into essential (pci, thermal) and mobile (lid,njl2004-04-211-5/+10
| | | | battery, etc.)
* Hook acpi_video up to the build.njl2004-03-011-1/+1
|
* Add the ACPI standard video extensions driver. I've done some style cleanupnjl2004-03-011-0/+11
| | | | | | but a bit more reamins to be done. For now, it is usable. Submitted by: Taku YAMAMOTO <taku@cent.saitama-u.ac.jp>
* Clean all the object files whether or not ACPI_DEBUG is specified.njl2004-02-281-1/+1
|
* Include "../Makefile.inc" to propagate the configuration to subdirectories.nyan2004-01-131-0/+3
|
* Hook up acpi_toshibanjl2004-01-121-1/+1
|
* Add the ACPI Toshiba extras driver (hotkeys, LCD backlight, video output,njl2004-01-111-0/+9
| | | | | | forced fan control, and CPU throttling). Submitted by: Hiroyuki Aizu <aizu@navi.org>
* Always clean all files, including ones under ACPI_DEBUG when doing anjl2004-01-081-7/+9
| | | | "make clean".
* Use double quotes instead of single quotes for echos to build optionsbde2003-12-291-1/+1
| | | | | headers as in most other modules Makefiles (5 yesterday, none now). Fixed any simple nearby style bugs (not many).
* Move the acpi module down a directory. This will allow us to importnjl2003-12-242-76/+81
| | | | other ACPI-specific drivers into sys/modules/acpi/.
* Remove SMP option support from building the ACPI module as it is no longerjhb2003-12-051-3/+0
| | | | | | | needed. Approved by: re (murray) Requested by: njl
* Add madt.c to the list of sources for i386.jhb2003-12-031-0/+3
| | | | Approved by: re (scottl / blanket)
* * Add acpi_pcpu_get_id(idx, *acpi_id, *cpu_id) which fetches thenjl2003-11-261-2/+5
| | | | | | | | | | | | | | | | | | | | | | idx'th present CPU with pc_acpi_id equal to *acpi_id. If *acpi_id does not match that processor's pc_acpi_id, return the value for ProcId derived from the MADT in *acpi_id. If pc_acpi_id is 0xffffffff, always override it with the value of *acpi_id. Finally, return pc_cpuid in *cpu_id and use that as our primary key. * Use pc_cpuid as our unique key because we know it is valid since MD code set it. The values for ProcId in the ASL and MADT don't match up on some machines (!), forcing us to fall back to ordered probing in that case. * Remove some #ifdef SMP since the refcount doesn't hurt performance and will be needed for dynamic _CST objects. Only one #ifdef SMP (for smp_rendezvous) remains. * Hook up SMP in the compile flags in the Makefile. Tested by: marcel, truckman Approved by: re (scottl)
* Implement Cx CPU idle states and updated throttling support.njl2003-11-151-1/+2
| | | | | | | | | | | | * Use the cpu_idle_hook() to do idling for C1-C3. * Use both _CST and the FADT to detect Cx states. * Use both _PTC and P_CNT for controlling throttling. * Add a notify handler to detect changes in _CST and _PSS * Call the _INI function for each processor if present. This will be done by ACPI-CA in the future. * Fix a bug on SMP systems where CPUs will attach multiple times if the bus is rescan. * Document new sysctls for controlling idling.
* Use the ACPICA AcpiEnterSleepStateS4bios instead of rolling our own. Thisnjl2003-08-291-3/+2
| | | | | | change also disables interrupts around non-S4 suspends whereas before we did not do this. Our version of AcpiEnterSleepStateS4bios was almost identical to the ACPICA version.
* Fix the ACPI_DEBUG build for the non-module case. Move the #define intonjl2003-07-151-1/+1
| | | | | | | acfreebsd.h and remove it from the Makefile. Now ACPI_DEBUG implies ACPI_DISASSEMBLER. Noticed by: marcel
* Fix build with ACPI_DEBUG option.njl2003-07-141-2/+2
| | | | Reported by: Mark Santcroos <marks@ripe.net>, des+tinderbox
* Add an ACPI to ISA psuedo bridge driver. It attaches an isab(4) device tojhb2003-07-081-1/+1
| | | | | | | | | ACPI nodes with the plug and play ID's defined for a "Generic ISA Bus Device" as defined in section 10.7 of the ACPI 2.0 specification. This gives machines like the Libretto that contain a fake ISA bus that is not connected via a PCI-ISA bridge an ISA bus for ISA devices to attach to. Tested by: markm
* Support functions for the new ACPI import.njl2003-04-291-18/+17
| | | | | | | | | | | * AcpiOsDerivePciId(): finds a bus number, given the slot/func and the acpi parse tree. * AcpiOsPredefinedOverride(): use the sysctl hw.acpi.os_name to override the value for _OS. Ideas from: takawata, jhb Reviewed by: takawata, marcel Tested on: i386, ia64
* 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
|
OpenPOWER on IntegriCloud