[SCSI] bfa: IOC auto recovery fix.
commitf1d584d70f31f54e0a559049906f42db89e2746d
authorKrishna Gudipati <kgudipat@brocade.com>
Tue, 14 Dec 2010 00:17:11 +0000 (13 16:17 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 21 Dec 2010 18:37:15 +0000 (21 12:37 -0600)
tree7bfa223d53221c5930802b988a8bb6c0aed201d6
parentf3a060ca57903daaf2f1a88c6c25832619b2a74f
[SCSI] bfa: IOC auto recovery fix.

- Made IOC auto_recovery synchronized and not timer based.
- Only one PCI function will attempt to recover and reinitialize
  the ASIC on a failure, after all the active PCI fns
  acknowledge the IOC failure.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/bfa/bfa_ioc.c
drivers/scsi/bfa/bfa_ioc.h
drivers/scsi/bfa/bfa_ioc_cb.c
drivers/scsi/bfa/bfa_ioc_ct.c
drivers/scsi/bfa/bfi_cbreg.h
drivers/scsi/bfa/bfi_ctreg.h