Michael Chan 7cf38b2b89 bnx2: Fix shutdown sequence
[ Upstream commit a8d9bc2e9f5d1c5a25e33cec096d2a1652d3fd52 ]

The pci shutdown handler added in:

    bnx2: Add pci shutdown handler
    commit 25bfb1dd4ba3b2d9a49ce9d9b0cd7be1840e15ed

created a shutdown down sequence without chip reset if the device was
never brought up.  This can cause the firmware to shutdown the PHY
prematurely and cause MMIO read cycles to be unresponsive.  On some
systems, it may generate NMI in the bnx2's pci shutdown handler.

The fix is to tell the firmware not to shutdown the PHY if there was
no prior chip reset.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-04-14 06:47:19 -07:00
..
2013-11-19 15:53:02 -05:00
2014-04-03 12:02:37 -07:00
2013-11-07 19:24:20 +01:00
2014-04-14 06:47:19 -07:00
2014-02-22 13:34:45 -08:00
2014-02-13 13:55:46 -08:00
2014-02-06 11:34:00 -08:00
2014-04-03 12:02:37 -07:00
2013-12-10 08:48:15 +01:00