Add the beginnings of multipass suspend/resume, by introducing
BUS_SUSPEND_CHILD/BUS_RESUME_CHILD, and move the PCI driver to this.
Details
Details
- Reviewers
jhb - Commits
- rS272013: Stage one of multipass suspend/resume
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
Fix a copy&paste-o. Default for BUS_RESUME_CHILD should be bus_generic_resume_child, not suspend.
sys/dev/pci/pci.c | ||
---|---|---|
3667 ↗ | (On Diff #1076) | Looks like this can just go away and be replaced in the method list with bus_generic_suspend now? |
Comment Actions
Thanks for the review!
sys/dev/pci/pci.c | ||
---|---|---|
3667 ↗ | (On Diff #1076) | It can. I kept it in case there was anything else that needed done as well. But, if that's not the case, I'll just remove it. |
Comment Actions
Remove pci_suspend(), as it's no longer necessary, given it only calls
bus_generic_suspend().