• M
    bnx2: Fix shutdown sequence · a8d9bc2e
    Michael Chan 提交于
    The pci shutdown handler added in:
    
        bnx2: Add pci shutdown handler
        commit 25bfb1dd
    
    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: NMichael Chan <mchan@broadcom.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    a8d9bc2e
bnx2.c 215.6 KB