cvs commit: src/sys/dev/acpica acpi.c src/sys/dev/pci pci.c

Nate Lawson njl at FreeBSD.org
Thu Dec 2 00:07:13 PST 2004


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


More information about the cvs-src mailing list