summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/ata-pci.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2008-12-01 01:34:18 +0000
committermav <mav@FreeBSD.org>2008-12-01 01:34:18 +0000
commit3c492733af6b26646303f221dc41b6514b33d668 (patch)
treedcace06aa941ab0d71b8214a2f3ffa8647ec9317 /sys/dev/ata/ata-pci.h
parent4081b776af50ba3c4e12b839e07e7db11120a5dc (diff)
downloadFreeBSD-src-3c492733af6b26646303f221dc41b6514b33d668.zip
FreeBSD-src-3c492733af6b26646303f221dc41b6514b33d668.tar.gz
Restore AHCI suspend/resume support,
broken with modularization commit (rev 183724).
Diffstat (limited to 'sys/dev/ata/ata-pci.h')
-rw-r--r--sys/dev/ata/ata-pci.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ata/ata-pci.h b/sys/dev/ata/ata-pci.h
index acc55b5..0cbb0d5 100644
--- a/sys/dev/ata/ata-pci.h
+++ b/sys/dev/ata/ata-pci.h
@@ -449,8 +449,8 @@ static device_method_t __CONCAT(dname,_methods)[] = { \
DEVMETHOD(device_probe, __CONCAT(dname,_probe)), \
DEVMETHOD(device_attach, ata_pci_attach), \
DEVMETHOD(device_detach, ata_pci_detach), \
- DEVMETHOD(device_suspend, bus_generic_suspend), \
- DEVMETHOD(device_resume, bus_generic_resume), \
+ DEVMETHOD(device_suspend, ata_pci_suspend), \
+ DEVMETHOD(device_resume, ata_pci_resume), \
DEVMETHOD(device_shutdown, bus_generic_shutdown), \
DEVMETHOD(bus_alloc_resource, ata_pci_alloc_resource), \
DEVMETHOD(bus_release_resource, ata_pci_release_resource), \
OpenPOWER on IntegriCloud