diff options
author | jhb <jhb@FreeBSD.org> | 2010-08-17 15:44:52 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2010-08-17 15:44:52 +0000 |
commit | bdd8e8fe8136f157b255a622399032dcf47662d2 (patch) | |
tree | 7e13c86907c1bb2b489ada14a16a8f0aff8ab799 /sys/dev/acpica/acpi_pcib_acpi.c | |
parent | 4a63dcd164c0bd8e31b77d5417250b805bf3e06b (diff) | |
download | FreeBSD-src-bdd8e8fe8136f157b255a622399032dcf47662d2.zip FreeBSD-src-bdd8e8fe8136f157b255a622399032dcf47662d2.tar.gz |
Add a new method to the PCI bridge interface, PCIB_POWER_FOR_SLEEP(). This
method is used by the PCI bus driver to query the power management system
to determine the proper device state to be used for a device during suspend
and resume. For the ACPI PCI bridge drivers this calls
acpi_device_pwr_for_sleep(). This removes ACPI-specific knowledge from
the PCI and PCI-PCI bridge drivers.
Reviewed by: jkim
Diffstat (limited to 'sys/dev/acpica/acpi_pcib_acpi.c')
-rw-r--r-- | sys/dev/acpica/acpi_pcib_acpi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpi_pcib_acpi.c b/sys/dev/acpica/acpi_pcib_acpi.c index 7275330..2ea9f2c 100644 --- a/sys/dev/acpica/acpi_pcib_acpi.c +++ b/sys/dev/acpica/acpi_pcib_acpi.c @@ -116,6 +116,7 @@ static device_method_t acpi_pcib_acpi_methods[] = { DEVMETHOD(pcib_alloc_msix, acpi_pcib_alloc_msix), DEVMETHOD(pcib_release_msix, pcib_release_msix), DEVMETHOD(pcib_map_msi, acpi_pcib_map_msi), + DEVMETHOD(pcib_power_for_sleep, acpi_pcib_power_for_sleep), {0, 0} }; |