bnx2: Add pci shutdown handler.
authorMichael Chan <mchan@broadcom.com>
Tue, 6 Aug 2013 22:50:11 +0000 (15:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Aug 2013 17:44:07 +0000 (10:44 -0700)
commit25bfb1dd4ba3b2d9a49ce9d9b0cd7be1840e15ed
tree2fb6b38275eb8e8853bf518f9d301d72bf1533d5
parent28fb4eb4b7f29abaef3e79be5fc049a904221698
bnx2: Add pci shutdown handler.

WoL and power state changes will now be done in the shutdown handler.
open/close/ethtool will no longer change the power state.  NVRAM
operations can now be permitted whether the device is up or down.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2.c