diff options
author | Justin Hibbits <jhibbits@FreeBSD.org> | 2014-09-23 02:56:40 +0000 |
---|---|---|
committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2014-09-23 02:56:40 +0000 |
commit | a1c1634858a87a05feee6711d1ba063c3b7d14da (patch) | |
tree | fd4c1844ba0dcada6af8a128bff8b88fa043d602 /sys/dev/pci/pci_private.h | |
parent | 5ed6ab5baa218a7e89c1c9b21df4f6e664a0a860 (diff) | |
download | src-a1c1634858a87a05feee6711d1ba063c3b7d14da.tar.gz src-a1c1634858a87a05feee6711d1ba063c3b7d14da.zip |
Stage one of multipass suspend/resume
Summary:
Add the beginnings of multipass suspend/resume, by introducing
BUS_SUSPEND_CHILD/BUS_RESUME_CHILD, and move the PCI driver to this.
Reviewers: jhb
Reviewed By: jhb
Differential Revision: https://reviews.freebsd.org/D590
Notes
Notes:
svn path=/head/; revision=272013
Diffstat (limited to 'sys/dev/pci/pci_private.h')
-rw-r--r-- | sys/dev/pci/pci_private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/pci_private.h b/sys/dev/pci/pci_private.h index 5a90ce98d8ba..c10701d2afca 100644 --- a/sys/dev/pci/pci_private.h +++ b/sys/dev/pci/pci_private.h @@ -123,7 +123,8 @@ int pci_child_pnpinfo_str_method(device_t cbdev, device_t child, char *buf, size_t buflen); int pci_assign_interrupt_method(device_t dev, device_t child); int pci_resume(device_t dev); -int pci_suspend(device_t dev); +int pci_resume_child(device_t dev, device_t child); +int pci_suspend_child(device_t dev, device_t child); bus_dma_tag_t pci_get_dma_tag(device_t bus, device_t dev); void pci_child_added_method(device_t dev, device_t child); |