summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpi.c
AgeCommit message (Expand)Author
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
2010-07-27remove XXX; EC can now be attached early when needed; ok jordanTheo de Raadt
2010-07-27more brackets feels goodTheo de Raadt
2010-07-27XXX annotate a block in acpi_enter_sleep_state() that is pretty worryingTheo de Raadt
2010-07-27horrific indentation that nearly made me pukeTheo de Raadt
2010-07-27Set the sleeping indicator light on machines that support it, in case SMIMike Larkin
2010-07-27Early initialization of acpiec if ECDT table existsJordan Hargrave
2010-07-26remove merge error which was commitedTheo de Raadt
2010-07-26Add support for Sony ACPI hotkeys via a new driver: acpisony(4).Paul Irofti
2010-07-22pretty large cleanup of SMALL_KERNELTheo de Raadt
2010-07-21in the acpi GPE handler, late ack level interrupts not edge interrupts.Theo de Raadt
2010-07-21Merge the edge and level gpe handlers into one (now possible since theTheo de Raadt
2010-07-21delete #if 0 code we are not going to use; ok marcoTheo de Raadt
2010-07-20make the mask code for acpi_enable_onegpe() match other similar codeTheo de Raadt
2010-07-20Handle the acpi interrupt controller with proper edge/level handling,Theo de Raadt
2010-07-20When we're preparing to go to sleep, only call bufq_restart() if otherMatthew Dempsky
2010-07-19permit compilation with ACPI_DEBUGTheo de Raadt
2010-07-19there is no need for a seperate dsdt_softc pointer; dsdt does not have aTheo de Raadt
2010-07-19acpi_delay() is no longer needed; ok jordanTheo de Raadt
2010-07-18Clear event status on resume, to avoid going back to sleep/reboot/shutdownMike Larkin
2010-07-13rename some thread related interfaces so they are logicalTheo de Raadt
2010-07-10Verify _ADR bdf is correct (some systems return 0xffff)Jordan Hargrave
2010-07-09Clear the noiseJordan Hargrave
2010-07-08Add mapping for ACPI device to PCI bdf (match autoconf tree)Jordan Hargrave
2010-07-06Use spltty() to lock downcalls from apm against the information beingTheo de Raadt
2010-07-06Don't use a workq to do the suspend, because it races aginst the acpiTheo de Raadt
2010-07-05Reset register SCI_EN on resume. The ACPI spec clearly states we don't haveMike Larkin
2010-07-01do bufq quiesce again, since vnd/the bufq_done call inThordur I. Bjornsson
2010-07-01Backout recent AML changes, breaks on R210 and othersJordan Hargrave
2010-07-01Simplified aml_parse_resource call, cleanup codeJordan Hargrave
2010-07-01Fix subordinate bus # for multi-root PCI busesJordan Hargrave
2010-06-30Disable/partially backout the bufq quiesce changes as thisThordur I. Bjornsson
2010-06-29Fix ramdisks (new code was placed inside a SMALL_KERNEL chunk)Theo de Raadt
2010-06-29Add support for mapping ACPI to PCI devicesJordan Hargrave