Date: Thu, 2 Dec 2004 08:07:13 +0000 (UTC) From: Nate Lawson <njl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/acpica acpi.c src/sys/dev/pci pci.c Message-ID: <200412020807.iB287Dv4055285@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
njl 2004-12-02 08:07:13 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi.c sys/dev/pci pci.c Log: 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) Revision Changes Path 1.194 +210 -3 src/sys/dev/acpica/acpi.c 1.269 +54 -15 src/sys/dev/pci/pci.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412020807.iB287Dv4055285>