summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpi.c
AgeCommit message (Expand)Author
2013-05-31Fix the build for a kernel without wd and pciide in its config.Alexander Bluhm
2013-05-30Enforce ca_activate tree-walks over the entire heirarchy for all events,Theo de Raadt
2013-04-18pin the acpi thread to the BSP, because AML and SMI cannot be trusted. ITheo de Raadt
2012-12-24In acpiioctl(), Return though the splx() path if suser() returns an errorPhilip Guenthe
2012-10-08Revamp the sequences for suspend/hibernate -> resume so that the codeTheo de Raadt
2012-10-04Use information provided by ACPI to attach secondary PCI host bridges.Christian Ehrhardt
2012-09-07Add a new function called acpi_pci_min_powerstate() that returns the lowestMark Kettenis
2012-07-13Disable acpivideo(4) on ASUS laptops.Paul Irofti
2012-07-11for now, restrict hibernate to root in the acpi ioctl kernel interface.Mike Larkin
2012-07-09tiny little oops in untested hibernate blockTheo de Raadt
2012-07-09clean up ioctl() case statementsTheo de Raadt
2012-07-09acpi_disable_onegpe() is not used; ok piroftiTheo de Raadt
2012-05-24If _MIN > _MAX consider a WordBus resource to be invalid. Fixes a panic onMark Kettenis
2012-03-29Missing #ifdef in previous diffMike Larkin
2012-03-29Prevent hibernation attempts on machines with unsupported disk controllers.Mike Larkin
2012-03-26simplify conditionals in acpi_sleep_state()Theo de Raadt
2012-03-26hook in the hibernate request code; half of this diff is from mlarkinTheo de Raadt
2011-09-20Very early in suspend while the clock is still ticking realtime,Theo de Raadt
2011-07-02kqueue attach functions should return an errno or 0, not a plain 1. FixNicholas Marriott
2011-06-24machdep.kbdreset enables a shutdown by Ctrl-Alt-Del on amd64 andChristian Weisgerber
2011-06-16Import acpitoshiba driver.Paul Irofti
2011-04-27attach acpithinkpad to newer lenovo models like the x120ejoshua stein
2011-04-22Fix uninitialzied variables and formatting strings (-Wxxx errors)Jordan Hargrave
2011-01-02Re-add code for ACPI taskqueue, eliminates need for state vars in acpi softcJordan Hargrave
2010-10-31Revert last commit: it breaks resume on ThinkpadsPhilip Guenthe
2010-10-26Add task queue for ACPI gpe and notify handlersJordan Hargrave
2010-10-07Create separate functions for enabling wake and runtime gpes.Jordan Hargrave
2010-10-05split acpi_enable_onegpe to separate enable/disable functionsJordan Hargrave
2010-10-05Added acpi_disable_allgpes function to clear GPE statusJordan Hargrave
2010-10-05clean up acpi_softc use moreTheo de Raadt
2010-10-05delete a bit of #if 0 codeTheo de Raadt
2010-10-05hide use of our global acpi_softc pointer a bit betterTheo de Raadt
2010-09-29grab the acpi thread lock very early in acpi thread startup; not that itTheo de Raadt
2010-08-31Add DVACT_QUIECE support. This is called before splhigh() and beforeTheo de Raadt
2010-08-29- add a check for FWRITE here too.Jasper Lievisse Adriaanse
2010-08-27Make PCI Power Management optional, and only enable it when acpi(4) attaches.Mark Kettenis
2010-08-08Close race between the acpi thread and wscons ioctls running in processMark Kettenis
2010-08-08Report the acpi sleep states when on a RAMDISK; ok krwTheo de Raadt
2010-08-07Enforce acpi register access rescrictions.Mark Kettenis
2010-08-07upon resume, notify all the acpiac and acpibat drivers to updateTheo de Raadt
2010-08-06Always call _PSW on _LID devices that support it to enable lid open toMarco Peereboom
2010-08-06As part of a revamp of the PM1/GPE code, I write this diff to look forTheo de Raadt
2010-08-05PM1 power button events were generating 'fake events' to acpibtn PWRB,Theo de Raadt
2010-08-05rename a variable which is annoyingly poorly namedTheo de Raadt
2010-08-05Write to the correct offset for various ACPI pmreg registers. Writing toMike Larkin
2010-08-05Fix the power button. The pm1 register is 16 bits in size.Theo de Raadt
2010-08-04Print supported sleep states.Mark Kettenis
2010-08-03Use the proper flag for re-enabling certain hardware events (power btn,Mike Larkin
2010-07-28Make all gasio failures look and behave the same.Marco Peereboom
2010-07-28Delay a little longer on suspend before giving up. Fixes machines thatMike Larkin