[SCSI] bfa: Fabric Assigned Address implementation fix
authorKrishna Gudipati <kgudipat@brocade.com>
Sat, 22 Sep 2012 00:26:18 +0000 (17:26 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 7 Oct 2012 10:18:29 +0000 (11:18 +0100)
commit04ea65756251577991189ef659dd9694b97a5f81
tree78312989713bc8a8884ce4c565731d39dde181dd
parente353546e447feb838db2d1b23bac23cb90755993
[SCSI] bfa: Fabric Assigned Address implementation fix

- Made changes such that once the PWWN is acquired from the fabric through FAA,
  and if the FAPWWN configuration is modified on the switch side, driver should
  show relevant information to the user.
- Added logic to cache the reason code when the given port is disabled implicitl
  due to FAA error condition.
- If the port is disabled, while sending SCN to upper layer, update the
  reason code appropriately. With this, BFA FC port state machine will enter
  into faa_err_config state. This state will be shown to the user.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bfa/bfa_defs_svc.h
drivers/scsi/bfa/bfa_svc.c