freebsd-dev/sys/dev/acpica
Jung-uk Kim a7a3177f27 Remove PCI_SET_POWERSTATE method from acpi.c and eradicate all PCI-specific
knowledges from the file.  All PCI devices enumerated in ACPI tree must use
correct one from acpi_pci.c any way.  Reduce duplicate codes as we did for
pci.c in r213905.  Do not return ESRCH from PCIB_POWER_FOR_SLEEP method.
When the method is not found, just return zero without modifying the given
default value as it is completely optional.  As a side effect, the return
state must not be NULL.  Note there is actually no functional change by
removing ESRCH because acpi_pcib_power_for_sleep() always returns zero.
Adjust debugging messages and add new ones under bootverbose to help
debugging device power state related issues.

Reviewed by:	jhb, imp (earlier versions)
2010-10-19 19:53:06 +00:00
..
Osd Clean up unused headers. 2010-10-13 17:06:25 +00:00
acpi_acad.c Do not hold the ACPI A/C adapter lock when changing the power profile. 2009-09-30 17:07:49 +00:00
acpi_battery.c Temporarily revert the new-bus locking for 8.0 release. It will be 2009-08-20 19:17:53 +00:00
acpi_button.c Merge ACPICA 20100702. 2010-07-06 20:57:28 +00:00
acpi_cmbat.c Import ACPICA 20090521. 2009-06-05 18:44:36 +00:00
acpi_cpu.c Quick fix for unmotivated C2 state usage during boot, introduced at r212541. 2010-09-22 11:32:22 +00:00
acpi_dock.c Remove unused assignment. 2010-06-11 19:53:42 +00:00
acpi_ec.c acpi_ec: changes in communication with hardware 2010-10-12 17:53:01 +00:00
acpi_hpet.c Do not use regular interrupts on NVidia HPETs. NVidia MCP5x chipsets have 2010-09-30 16:23:01 +00:00
acpi_hpet.h Implement new event timers infrastructure. It provides unified APIs for 2010-06-20 21:33:29 +00:00
acpi_if.m Remove PCI_SET_POWERSTATE method from acpi.c and eradicate all PCI-specific 2010-10-19 19:53:06 +00:00
acpi_isab.c Import ACPICA 20090521. 2009-06-05 18:44:36 +00:00
acpi_lid.c Merge ACPICA 20100702. 2010-07-06 20:57:28 +00:00
acpi_package.c Merge ACPICA 20100121. 2010-01-21 21:14:28 +00:00
acpi_pci_link.c Import ACPICA 20090521. 2009-06-05 18:44:36 +00:00
acpi_pci.c Remove PCI_SET_POWERSTATE method from acpi.c and eradicate all PCI-specific 2010-10-19 19:53:06 +00:00
acpi_pcib_acpi.c Add a new method to the PCI bridge interface, PCIB_POWER_FOR_SLEEP(). This 2010-08-17 15:44:52 +00:00
acpi_pcib_pci.c Add a new method to the PCI bridge interface, PCIB_POWER_FOR_SLEEP(). This 2010-08-17 15:44:52 +00:00
acpi_pcib.c Add a new method to the PCI bridge interface, PCIB_POWER_FOR_SLEEP(). This 2010-08-17 15:44:52 +00:00
acpi_pcibvar.h Add a new method to the PCI bridge interface, PCIB_POWER_FOR_SLEEP(). This 2010-08-17 15:44:52 +00:00
acpi_perf.c Import ACPICA 20090521. 2009-06-05 18:44:36 +00:00
acpi_powerres.c Merge ACPICA 20100121. 2010-01-21 21:14:28 +00:00
acpi_quirk.c Import ACPICA 20090521. 2009-06-05 18:44:36 +00:00
acpi_quirks
acpi_resource.c Import ACPICA 20090521. 2009-06-05 18:44:36 +00:00
acpi_smbat.c Merge ACPICA 20100121. 2010-01-21 21:14:28 +00:00
acpi_smbus.h
acpi_thermal.c fix a few cases where a string is passed via format argument instead of 2010-06-11 19:27:21 +00:00
acpi_throttle.c Import ACPICA 20090521. 2009-06-05 18:44:36 +00:00
acpi_timer.c Import ACPICA 20090521. 2009-06-05 18:44:36 +00:00
acpi_video.c Simplify a function for getting brightness levels. 2010-06-11 19:58:41 +00:00
acpi.c Remove PCI_SET_POWERSTATE method from acpi.c and eradicate all PCI-specific 2010-10-19 19:53:06 +00:00
acpiio.h Update the suspend/resume user API while maintaining backwards compat. 2007-06-21 22:50:37 +00:00
acpivar.h Add a new method to the PCI bridge interface, PCIB_POWER_FOR_SLEEP(). This 2010-08-17 15:44:52 +00:00