• R
    bna: fix for clean fw re-initialization · 79ea6c89
    Rasesh Mody 提交于
    During a kernel crash, bna control path state machine and firmware do not
    get a notification and hence are not cleanly shutdown. The registers
    holding driver/IOC state information are not reset back to valid
    disabled/parking values. This causes subsequent driver initialization
    to hang during kdump kernel boot. This patch, during the initialization
    of first PCI function, resets corresponding register when unclean shutown
    is detect by reading chip registers. This will make sure that ioc/fw
    gets clean re-initialization.
    Signed-off-by: NDebashis Dutt <ddutt@brocade.com>
    Signed-off-by: NRasesh Mody <rmody@brocade.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    79ea6c89
bfa_ioc_ct.c 14.6 KB