• Michael Chan's avatar
    bnx2: Fix shutdown sequence · a8d9bc2e
    Michael Chan authored
    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: default avatarMichael Chan <mchan@broadcom.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    a8d9bc2e
bnx2.h 325 KB