ixgbe: Use pci_wake_from_d3() instead of multiple pci_enable_wake()
authorDon Skidmore <donald.c.skidmore@intel.com>
Wed, 29 Apr 2009 07:22:31 +0000 (00:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Apr 2009 07:22:31 +0000 (00:22 -0700)
commitdd4d8ca6446538a904127838cb6c9a4cffe690f7
tree17099bfebb524ce2662c54be0ff81fe0ffc51d6f
parentf7185c71234434d48b96f9a0387737df1759a4af
ixgbe: Use pci_wake_from_d3() instead of multiple pci_enable_wake()

We were calling pci_enable_wake() twice in a row for both D3_hot
and D3_cold.  This replaces those calls with a call to pci_wake_from_d3()
to avoid issues with PCI PM vs ordering constraints.

Signed-off-by: Don Skidmore <donald.c.skidmore@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