svn commit: r185500 - head/sys/dev/ata

Alexander Motin mav at FreeBSD.org
Sun Nov 30 17:34:19 PST 2008


Author: mav
Date: Mon Dec  1 01:34:18 2008
New Revision: 185500
URL: http://svn.freebsd.org/changeset/base/185500

Log:
  Restore AHCI suspend/resume support,
  broken with modularization commit (rev 183724).

Modified:
  head/sys/dev/ata/ata-pci.h

Modified: head/sys/dev/ata/ata-pci.h
==============================================================================
--- head/sys/dev/ata/ata-pci.h	Mon Dec  1 00:45:51 2008	(r185499)
+++ head/sys/dev/ata/ata-pci.h	Mon Dec  1 01:34:18 2008	(r185500)
@@ -449,8 +449,8 @@ static device_method_t __CONCAT(dname,_m
     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), \


More information about the svn-src-head mailing list