NET/ixgbe: Fix powering off during shutdown
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 15 Apr 2009 17:44:01 +0000 (17:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Apr 2009 09:15:25 +0000 (02:15 -0700)
commit9d8d05ae66f40642987486f4b107565fc561a77c
tree72999fe5e731e785d5be685e0f9d51bf42df048d
parent4f9de721ab73a5271a79b126f7b5140b01a05c99
NET/ixgbe: Fix powering off during shutdown

Prevent ixgbe from putting the adapter into D3 during shutdown except when
we're going to power off the system, since doing that may generally cause
problems with kexec to happen (such problems were observed for igb and
forcedeth).  For this purpose seperate ixgbe_shutdown() from ixgbe_suspend()
and use the appropriate PCI PM callbacks in both of them.

Signed-off-by: "Rafael J. Wysocki" <rjw@sisk.pl>
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