NET/e1000e: Fix powering off during shutdown
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 15 Apr 2009 17:43:43 +0000 (17:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Apr 2009 09:15:22 +0000 (02:15 -0700)
commit4f9de721ab73a5271a79b126f7b5140b01a05c99
treed27b7844406686840dcd5d4086a6956fbd4423ff
parentb43fcd7dc7bf0471b3bdda8fee3418e93ac25863
NET/e1000e: Fix powering off during shutdown

Prevent e1000e 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 e1000e_shutdown() from e1000e_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/e1000e/netdev.c