]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ixgbe: fix Need to call pci_save_state after pci_restore_state
authorDon Skidmore <donald.c.skidmore@intel.com>
Thu, 24 Dec 2009 05:19:19 +0000 (21:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Dec 2009 05:19:19 +0000 (21:19 -0800)
commit656ab8172a49d3931e64f866c080260be638c8a9
treeeed8df3cd65573ce7267fb5dd7ed487ceabc719c
parent16c02145902d8597841a25e8443cfb082898a2d7
ixgbe: fix Need to call pci_save_state after pci_restore_state

This patch adds a pci_save_state() call in ixgbe_resume() after
pci_restore_state(). A similar change was made in ixgbe_io_slot_reset()
that accommodates pci_restore_state() new behavior. This change makes
pci_restore_state() clear the saved_state flag This is necessary due
to a resent kernel change to pci_restore_state() so that it now clears
the saved_state flag of the device right after the device.s standard
configuration registers have been poplulated with the previously saved
values.

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_main.c