diff options
author | jkim <jkim@FreeBSD.org> | 2010-10-19 19:53:06 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2010-10-19 19:53:06 +0000 |
commit | 637883fc4e1ec3b88c5c13b8b1a273f70e123b37 (patch) | |
tree | decfa76ab503f13e062c818d0664f8da8c58b908 /lib/libc/stdlib/abort.c | |
parent | a11f2eb6e8461181df320a07e802a8eb4a5394b5 (diff) | |
download | FreeBSD-src-637883fc4e1ec3b88c5c13b8b1a273f70e123b37.zip FreeBSD-src-637883fc4e1ec3b88c5c13b8b1a273f70e123b37.tar.gz |
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)
Diffstat (limited to 'lib/libc/stdlib/abort.c')
0 files changed, 0 insertions, 0 deletions