[SCSI] bfa: fix uf post and rport fcpim state machine
authorJing Huang <huangj@brocade.com>
Fri, 9 Jul 2010 02:55:41 +0000 (19:55 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 27 Jul 2010 17:04:16 +0000 (12:04 -0500)
BFA UF module did not hold lock when seding uf post buffer message to firmware
causing CPE-Q corruption. Fix is to check present of FCS and if FCS present
hold lock while posting UF buffers.

Handle PRLO with sending acc to it and relogin with rport. Discard fcxp
before any state change.

Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

No differences found