1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-12 14:29:28 +00:00
freebsd/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 MPSAFE locking 2004-08-13 06:21:41 +00:00
acpi_button.c Move flags into a private ivar so it can't collide with device flags. 2004-06-30 16:08:03 +00:00
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 MPSAFE locking 2004-08-13 06:21:53 +00:00
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 Use the acpi_id_probe() method instead of acpi_MatchHid(), which is now 2004-06-29 19:02:27 +00:00
acpi_lid.c Remove code to initialize the lid state at boot. It interfered with lid 2004-08-25 20:09:15 +00:00
acpi_package.c Add support for packages as the first element of _PRW. This may allow 2004-04-09 06:40:03 +00:00
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 Instead of trusting _STA from power resources, cache the first value 2004-09-07 16:58:12 +00:00
acpi_quirk.c Add the table quirk matching code. It matches rules defined in acpi_quirks 2004-06-30 04:45:32 +00:00
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 Rework sysresource management. Instead of having each sysresource object 2004-08-23 16:28:42 +00:00
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 Remove the ACPIIO_ENABLE and ACPIIO_DISABLE ioctls as well as all 2004-08-18 05:48:24 +00:00
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