e1000e: call pci_save_state() after pci_restore_state()
authorBruce Allan <bruce.w.allan@intel.com>
Thu, 7 Jan 2010 16:30:56 +0000 (16:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Jan 2010 08:35:29 +0000 (00:35 -0800)
commit28b8f04a5256ca5ec0781b06ee9353c37c650980
tree4e8479adbbcd20cda5c519327d6040e61d241190
parentc651a8c160647b2eb6e61fb485f307e3781415e8
e1000e: call pci_save_state() after pci_restore_state()

Due to a change in pci_restore_state()[1] which clears the saved_state
flag, the driver should call pci_save_state() to set the flag once again
to avoid issues with EEH (same fix that recently was submitted for ixgbe).

[1] commmit 4b77b0a2ba27d64f58f16d8d4d48d8319dda36ff

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/netdev.c