freebsd-nq/sys/dev/acpica
Nate Lawson 10ce62b975 Turn ACPI and PCI devices off or to a lower power state in suspend and
back on again in resume.  Override the default of D3 with the value the
BIOS specifies in _SxD, if present.  Skip serial devices (PNP05xx) since
they seem to hang when set to D3 and may require special driver support.
Also, skip non-type 0 PCI devices (i.e., bridges) since our we don't yet
save/restore their config space and that seems to be necessary.

If this gives you trouble with suspend/resume, you can disable the new
ACPI and PCI power behavior separately with these tunables & sysctls:
    debug.acpi.do_powerstate
    hw.pci.do_powerstate

Approved by:	imp (pci)
Tested by:	acpi@ (numerous)
2004-12-02 08:07:12 +00:00
..
Osd Catch up with AcpiOsSleep() interface change. 2004-12-02 00:25:35 +00:00
acpi_acad.c Catch up with AcpiOsSleep() interface change. 2004-12-02 00:25:35 +00:00
acpi_battery.c
acpi_button.c
acpi_cmbat.c Catch up with AcpiOsSleep() interface change. 2004-12-02 00:25:35 +00:00
acpi_cpu.c Enable throttling/C3 quirks for PIIX4 parts. Defer checking quirks until 2004-11-16 18:47:42 +00:00
acpi_ec.c
acpi_if.m Add the ACPI_PWR_FOR_SLEEP method. It takes a device and outputs the 2004-12-02 08:04:57 +00:00
acpi_isab.c
acpi_lid.c
acpi_package.c
acpi_pci_link.c - Do a better job of handling any Dependent Functions (aka DPFs) that appear 2004-12-01 21:05:02 +00:00
acpi_pci.c Instead of translating PCI to ACPI power states, just use a CTASSERT 2004-11-29 18:48:51 +00:00
acpi_pcib_acpi.c Rework the ACPI PCI link code. 2004-11-23 22:26:44 +00:00
acpi_pcib_pci.c Rework the ACPI PCI link code. 2004-11-23 22:26:44 +00:00
acpi_pcib.c Rework the ACPI PCI link code. 2004-11-23 22:26:44 +00:00
acpi_pcibvar.h - Remove some no longer used constants. 2004-11-23 22:30:03 +00:00
acpi_powerres.c
acpi_quirk.c
acpi_quirks Update a quirk for the ASUS P5A to disable the timer. It appears to work fine 2004-10-08 17:56:47 +00:00
acpi_resource.c
acpi_thermal.c Initialize the flags value properly. We used to do this in acpi_tz_all_off() 2004-09-21 18:39:10 +00:00
acpi_timer.c Make the bootverbose output from qualitydetermination of the ACPI timer 2004-11-03 09:09:13 +00:00
acpi_video.c Tell the BIOS we want to handle brightness switching as well as output 2004-11-09 04:41:30 +00:00
acpi.c Turn ACPI and PCI devices off or to a lower power state in suspend and 2004-12-02 08:07:12 +00:00
acpiio.h
acpivar.h Update a quirk for the ASUS P5A to disable the timer. It appears to work fine 2004-10-08 17:56:47 +00:00