pci_save_state

Name

pci_save_state --  save the PCI configuration space of a device before suspending

Synopsis

int pci_save_state (struct pci_dev * dev, u32 * buffer);

Arguments

dev

- PCI device that we're dealing with

buffer

- buffer to hold config space context

Description

buffer must be large enough to hold the entire PCI 2.2 config space (>= 64 bytes).