Date: Tue, 19 Oct 2010 19:53:06 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/acpica acpi.c acpi_if.m acpi_pci.c Message-ID: <201010191953.o9JJrWqk020366@repoman.freebsd.org>
index | next in thread | raw e-mail
jkim 2010-10-19 19:53:06 UTC
FreeBSD src repository
Modified files:
sys/dev/acpica acpi.c acpi_if.m acpi_pci.c
Log:
SVN rev 214072 on 2010-10-19 19:53:06Z by jkim
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)
Revision Changes Path
1.289 +61 -92 src/sys/dev/acpica/acpi.c
1.11 +1 -2 src/sys/dev/acpica/acpi_if.m
1.36 +6 -2 src/sys/dev/acpica/acpi_pci.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010191953.o9JJrWqk020366>
