diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2011-06-24 23:22:56 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-06-29 17:57:52 -0400 |
commit | 5a0adaedffce91100d03fc1036dde024c8589295 (patch) | |
tree | 672bba0f2dd33eea68a492dc4567f42d16a53c4d /drivers/scsi/bfa/bfi.h | |
parent | 1a4d8e1bd81c018f7b8c7622066d5cfead59b38a (diff) |
[SCSI] bfa: IOC bug fixes.
- Add logic to handle the case where PCI mapping goes away when
IOCPF state machine is waiting for semaphore.
- Added logic to unlock hw semaphore if the previos FW boot was
from flash based and the current FW initialization attempt is from OS.
- Added fix to update hbfails and hb_count stats during hwerror event.
Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa/bfi.h')
-rw-r--r-- | drivers/scsi/bfa/bfi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/bfa/bfi.h b/drivers/scsi/bfa/bfi.h index d28c7c55a60c..02e445612546 100644 --- a/drivers/scsi/bfa/bfi.h +++ b/drivers/scsi/bfa/bfi.h | |||
@@ -236,7 +236,8 @@ struct bfi_ioc_attr_s { | |||
236 | wwn_t mfg_pwwn; /* Mfg port wwn */ | 236 | wwn_t mfg_pwwn; /* Mfg port wwn */ |
237 | wwn_t mfg_nwwn; /* Mfg node wwn */ | 237 | wwn_t mfg_nwwn; /* Mfg node wwn */ |
238 | mac_t mfg_mac; /* Mfg mac */ | 238 | mac_t mfg_mac; /* Mfg mac */ |
239 | u16 rsvd_a; | 239 | u8 port_mode; /* bfi_port_mode */ |
240 | u8 rsvd_a; | ||
240 | wwn_t pwwn; | 241 | wwn_t pwwn; |
241 | wwn_t nwwn; | 242 | wwn_t nwwn; |
242 | mac_t mac; /* PBC or Mfg mac */ | 243 | mac_t mac; /* PBC or Mfg mac */ |