freebsd-dev/sys/dev/pci
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
..
eisa_pci.c Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
fixup_pci.c Add some missing <sys/module.h> includes which are masked by the 2004-05-30 17:57:46 +00:00
ignore_pci.c Add some missing <sys/module.h> includes which are masked by the 2004-05-30 17:57:46 +00:00
isa_pci.c Add some missing <sys/module.h> includes which are masked by the 2004-05-30 17:57:46 +00:00
pci_if.m Add a new PCI interface method, assign_interrupt, to determine the 2003-07-01 14:08:33 +00:00
pci_pci.c Trim a few things from the dmesg output and stick them under bootverbose to 2004-07-01 07:46:29 +00:00
pci_private.h Omnibus PCI commit: 2004-04-09 15:44:34 +00:00
pci_user.c Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
pci.c Turn ACPI and PCI devices off or to a lower power state in suspend and 2004-12-02 08:07:12 +00:00
pcib_if.m
pcib_private.h Add support for subtractive decoding bridges. These bridges pass all 2004-01-11 06:52:31 +00:00
pcireg.h Teach the PCI code to parse MSI extended capabilities. Re-arrange the 2003-09-14 19:30:00 +00:00
pcivar.h Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00