summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authoriwasaki <iwasaki@FreeBSD.org>2003-09-17 08:32:44 +0000
committeriwasaki <iwasaki@FreeBSD.org>2003-09-17 08:32:44 +0000
commit9fac14e51fbda70a693d9001fd1ab05d3560cc98 (patch)
treedf08b28e66ee6ccb78c1f44513d4a14348e26794 /sys/dev/acpica
parentab6ce03a9b2691492b4e4996f2f14960556c42e8 (diff)
downloadFreeBSD-src-9fac14e51fbda70a693d9001fd1ab05d3560cc98.zip
FreeBSD-src-9fac14e51fbda70a693d9001fd1ab05d3560cc98.tar.gz
Add pci_resume() to reestablish interrupt routing after
suspend/resume. Especially after hibernation, interrupt routing went back to initial status on some machines.
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/acpi_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi_pci.c b/sys/dev/acpica/acpi_pci.c
index b8bf11e..85b6b1c 100644
--- a/sys/dev/acpica/acpi_pci.c
+++ b/sys/dev/acpica/acpi_pci.c
@@ -79,7 +79,7 @@ static device_method_t acpi_pci_methods[] = {
DEVMETHOD(device_attach, acpi_pci_attach),
DEVMETHOD(device_shutdown, bus_generic_shutdown),
DEVMETHOD(device_suspend, bus_generic_suspend),
- DEVMETHOD(device_resume, bus_generic_resume),
+ DEVMETHOD(device_resume, pci_resume),
/* Bus interface */
DEVMETHOD(bus_print_child, pci_print_child),
OpenPOWER on IntegriCloud