[SCSI] bfa: Store port configuration in flash for persistency.
authorKrishna Gudipati <kgudipat@brocade.com>
Tue, 14 Dec 2010 00:16:50 +0000 (16:16 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 21 Dec 2010 18:37:12 +0000 (12:37 -0600)
commitf3a060ca57903daaf2f1a88c6c25832619b2a74f
treeae23aad4020a301ba23301f4c21655af7887ed85
parent4e78efefa3c083240bd47153ffa99642bfdc7811
[SCSI] bfa: Store port configuration in flash for persistency.

When the bfa driver is loaded a flogi is sent without the knowledge of
trunking configuration. This normal flogi causes the switch ports
which had trunking enabled to go to persistent offline.  Solution is
to store the port configuration (which has trunking info) in the flash
for persistency. The firmware will read this configuration when the
very first fcport enable is received.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/bfa/bfa_svc.c
drivers/scsi/bfa/bfa_svc.h
drivers/scsi/bfa/bfi_ms.h