cvs commit: src/sys/dev/acpica acpi_pci.c acpi_powerres.c

Nate Lawson njl at FreeBSD.org
Mon Jun 7 21:39:16 GMT 2004


njl         2004-06-07 21:39:16 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/acpica       acpi_pci.c acpi_powerres.c 
  Log:
  Avoid printing extraneous warning messages when trying to switch a device
  which doesn't support ACPI power states.  Return AE_NOT_FOUND for these
  cases and don't print the warning message.  Also, print the name of the
  handle instead of device when unable to switch states.  The device is often
  not attached at this point and so its name is NULL, which doesn't help
  debugging.
  
  Revision  Changes    Path
  1.17      +6 -9      src/sys/dev/acpica/acpi_pci.c
  1.23      +11 -8     src/sys/dev/acpica/acpi_powerres.c


More information about the cvs-src mailing list