[SCSI] bfa: IOC fixes, check for IOC down condition.
authorKrishna Gudipati <kgudipat@brocade.com>
Sat, 6 Mar 2010 03:37:29 +0000 (19:37 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 7 Mar 2010 07:33:50 +0000 (13:03 +0530)
commit13cc20c5e764e6ef8d57f33980ab8c386c25fb4d
treecbff054ff7e961d8cf558de959c2fbad93fa235e
parent78f915f7b095dda76970c8c9568489fa779ef73f
[SCSI] bfa: IOC fixes, check for IOC down condition.

Currently BFA was not checking for IOC down condition when issuing
getstats/clearstats

Add check to see if IOC is operational, before issuing
getstats/clearstats.

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_iocfc.c