forked from luck/tmp_suning_uos_patched
79ea6c8966
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: Debashis Dutt <ddutt@brocade.com> Signed-off-by: Rasesh Mody <rmody@brocade.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
bfa_cee.c | ||
bfa_cee.h | ||
bfa_defs_cna.h | ||
bfa_defs_mfg_comm.h | ||
bfa_defs_status.h | ||
bfa_defs.h | ||
bfa_ioc_ct.c | ||
bfa_ioc.c | ||
bfa_ioc.h | ||
bfa_sm.h | ||
bfa_wc.h | ||
bfi_cna.h | ||
bfi_ctreg.h | ||
bfi_ll.h | ||
bfi.h | ||
bna_ctrl.c | ||
bna_hw.h | ||
bna_txrx.c | ||
bna_types.h | ||
bna.h | ||
bnad_ethtool.c | ||
bnad.c | ||
bnad.h | ||
cna_fwimg.c | ||
cna.h | ||
Makefile |