aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorAmit Shah <[email protected]>2011-12-22 16:58:26 +0530
committerRusty Russell <[email protected]>2012-01-12 15:44:44 +1030
commitf0fe6f11503fa9880867554350ac5d3092c47251 (patch)
tree0f95d79a528809e169a742afeafddd041d275181 /net/lapb/lapb_subr.c
parentd077536386595309060dda57e7b7474c501a589b (diff)
virtio: pci: add PM notification handlers for restore, freeze, thaw, poweroff
Handle thaw, restore and freeze notifications from the PM core. Expose these to individual virtio drivers that can quiesce and resume vq operations. For drivers not implementing the thaw() method, use the restore method instead. These functions also save device-specific data so that the device can be put in pre-suspend state after resume, and disable and enable the PCI device in the freeze and resume functions, respectively. Signed-off-by: Amit Shah <[email protected]> Signed-off-by: Rusty Russell <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions