Michael Ellerman 8fed4b6523 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>
2007-02-07 15:50:07 -08:00
..
2005-10-18 08:26:15 -07:00
2006-12-04 02:00:22 -05:00
2006-09-26 17:43:53 -07:00
2006-10-04 07:55:30 -07:00
2006-12-01 14:36:56 -08:00
2007-02-07 15:50:07 -08:00
2006-12-08 08:28:48 -08:00
2006-09-26 17:43:54 -07:00
2007-02-07 15:50:04 -08:00
2006-12-22 08:55:51 -08:00
2005-04-16 15:20:36 -07:00
2006-12-20 10:54:43 -08:00