summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpi
AgeCommit message (Expand)AuthorFilesLines
2010-10-07Create separate functions for enabling wake and runtime gpes.jordan1-56/+56
2010-10-05split acpi_enable_onegpe to separate enable/disable functionsjordan1-15/+31
2010-10-05Added acpi_disable_allgpes function to clear GPE statusjordan1-11/+19
2010-10-05clean up acpi_softc use morederaadt1-4/+2
2010-10-05delete a bit of #if 0 codederaadt1-9/+1
2010-10-05hide use of our global acpi_softc pointer a bit betterderaadt1-4/+5
2010-09-29grab the acpi thread lock very early in acpi thread startup; not that itderaadt1-3/+3
2010-09-21Add support for newer asus boards that use a different method to pollclaudio1-159/+323
2010-09-19acpi sub-drivers may not use sensordev_install(); all acpi/acpiec/dsdtderaadt1-6/+17
2010-08-31Add DVACT_QUIECE support. This is called before splhigh() and beforederaadt1-1/+2
2010-08-29- add a check for FWRITE here too.jasper1-3/+7
2010-08-28powerhooks in acpi drivers? oh boy. change this into a (not yet called)deraadt1-14/+12
2010-08-27Make PCI Power Management optional, and only enable it when acpi(4) attaches.kettenis1-1/+4
2010-08-27kill PWR_STANDBY (apm can use PWR_SUSPEND instead). While here, renumberderaadt1-2/+1
2010-08-08Close race between the acpi thread and wscons ioctls running in processkettenis3-3/+15
2010-08-08Stop recursion introduced in rev 1.42, by reverting most of that commit.kettenis1-6/+3
2010-08-08Report the acpi sleep states when on a RAMDISK; ok krwderaadt1-26/+27
2010-08-07Enforce acpi register access rescrictions.kettenis2-24/+26
2010-08-07Generate power change events for APM. Makes powerup and powerdown scriptscanacar2-2/+7
2010-08-07The wakeup of the acpi thread is not needed. This code is being calledderaadt3-12/+6
2010-08-07upon resume, notify all the acpiac and acpibat drivers to updatederaadt1-1/+12
2010-08-06Always call _PSW on _LID devices that support it to enable lid open tomarco3-17/+66
2010-08-06As part of a revamp of the PM1/GPE code, I write this diff to look forderaadt1-2/+16
2010-08-05new i386/amd64 machdep.lidsuspend sysctl which decides whether a lidderaadt1-5/+3
2010-08-05lid suspend logic was backwardsderaadt1-2/+2
2010-08-05Wakeup machine when lid is opened on laptops that have acpibtn _LID.marco1-9/+16
2010-08-05PM1 power button events were generating 'fake events' to acpibtn PWRB,deraadt3-5/+13
2010-08-05rename a variable which is annoyingly poorly namedderaadt1-10/+8
2010-08-05Write to the correct offset for various ACPI pmreg registers. Writing tomlarkin1-5/+5
2010-08-05Fix the power button. The pm1 register is 16 bits in size.deraadt1-4/+4
2010-08-05Add Windows2009 to the valid osi table; from marco, suggested as a trialderaadt1-1/+2
2010-08-04Remove unused code, conditional in fixup node was never truejordan2-41/+2
2010-08-04Print supported sleep states.kettenis1-1/+3
2010-08-03Remove old code that figures out the PCI bus number. The new code gets somekettenis1-87/+5
2010-08-03Add busy flag so that we don't act on a SCI until a command in progressmarco2-3/+13
2010-08-03Use the proper flag for re-enabling certain hardware events (power btn,mlarkin1-3/+3
2010-08-02The EC GPE is always edge. edge interrupts have their STS bit resetderaadt1-2/+1
2010-07-29Don't set sc_ec until after the EC registers are mapped, but before wekettenis1-3/+3
2010-07-28remove stub code for rw locks we will never need; ok kettenis marcoderaadt1-9/+2
2010-07-28Make all gasio failures look and behave the same.marco1-8/+13
2010-07-28Delay a little longer on suspend before giving up. Fixes machines thatmlarkin1-2/+2
2010-07-27remove an ancient XXXderaadt1-4/+1
2010-07-27remove XXX; EC can now be attached early when needed; ok jordanderaadt1-2/+1
2010-07-27more brackets feels goodderaadt1-3/+3
2010-07-27XXX annotate a block in acpi_enter_sleep_state() that is pretty worryingderaadt1-1/+4
2010-07-27do not match a 2nd EC if something horrible happens; ok marcoderaadt1-9/+8
2010-07-27Spaces vs tabmarco1-2/+2
2010-07-27horrific indentation that nearly made me pukederaadt1-10/+8
2010-07-27Revert 1.34 certain systems need the parent ec pointer initialized earlier.marco1-2/+2
2010-07-27Set the sleeping indicator light on machines that support it, in case SMImlarkin1-1/+8