[SCSI] bfa: Defined a new LPS event to clear virtual link on a vport
authorKrishna Gudipati <kgudipat@brocade.com>
Thu, 4 Mar 2010 01:42:39 +0000 (17:42 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 4 Mar 2010 10:39:37 +0000 (16:09 +0530)
commit5c1fb1d55672a74d1c318f67cdddbb599df9a76c
tree0f861cc0e81e201131c2997ae0c4d72b9c1c4247
parent4c147dd81966bd4ba7f026476237ba67ea72d5d9
[SCSI] bfa: Defined a new LPS event to clear virtual link on a vport

Clear virtual links was not propagated upwards to bfa from fw.
This resulted in HBA and switch being in an inconsistent state.

So defined a new LPS event for clear virtual link on a vport,
and also now clear virtual link on a baseport, is sent as a
link down event from the fw.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/bfa/bfa_lps.c
drivers/scsi/bfa/include/bfa_svc.h
drivers/scsi/bfa/include/bfi/bfi_lps.h
drivers/scsi/bfa/include/cs/bfa_plog.h
drivers/scsi/bfa/vport.c