diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2007-01-25 19:34:08 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-07 15:50:07 -0800 |
commit | 8fed4b65236c44d090bd62f2d14938ae791e0260 (patch) | |
tree | 53b0609ff8e53d9b1410f707f59cd14a555f8c04 /include/linux | |
parent | 0fcfdabbdbedb3bdc63f29209aeeac805df78a92 (diff) |
MSI: Combine pci_(save|restore)_msi/msix_state
The PCI save/restore code doesn't need to care about MSI vs MSI-X, all
it really wants is to say "save/restore all MSI(-X) info for this device".
This is borne out in the code, we call the MSI and MSI-X save routines
side by side, and similarly with the restore routines.
So combine the MSI/MSI-X routines into pci_save_msi_state() and
pci_restore_msi_state(). It is up to those routines to decide what state
needs to be saved.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions