aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/bfa_defs.h
diff options
context:
space:
mode:
authorKrishna Gudipati <kgudipat@brocade.com>2011-06-24 23:22:56 -0400
committerJames Bottomley <JBottomley@Parallels.com>2011-06-29 17:57:52 -0400
commit5a0adaedffce91100d03fc1036dde024c8589295 (patch)
tree672bba0f2dd33eea68a492dc4567f42d16a53c4d /drivers/scsi/bfa/bfa_defs.h
parent1a4d8e1bd81c018f7b8c7622066d5cfead59b38a (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/bfa_defs.h')
-rw-r--r--drivers/scsi/bfa/bfa_defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/bfa_defs.h b/drivers/scsi/bfa/bfa_defs.h
index cced5874cb55..c675e65c77a4 100644
--- a/drivers/scsi/bfa/bfa_defs.h
+++ b/drivers/scsi/bfa/bfa_defs.h
@@ -274,6 +274,7 @@ enum bfa_ioc_state {
274 BFA_IOC_DISABLED = 10, /* IOC is disabled */ 274 BFA_IOC_DISABLED = 10, /* IOC is disabled */
275 BFA_IOC_FWMISMATCH = 11, /* IOC f/w different from drivers */ 275 BFA_IOC_FWMISMATCH = 11, /* IOC f/w different from drivers */
276 BFA_IOC_ENABLING = 12, /* IOC is being enabled */ 276 BFA_IOC_ENABLING = 12, /* IOC is being enabled */
277 BFA_IOC_HWFAIL = 13, /* PCI mapping doesn't exist */
277}; 278};
278 279
279/* 280/*
@@ -303,6 +304,7 @@ struct bfa_ioc_drv_stats_s {
303 u32 enable_reqs; 304 u32 enable_reqs;
304 u32 disable_replies; 305 u32 disable_replies;
305 u32 enable_replies; 306 u32 enable_replies;
307 u32 rsvd;
306}; 308};
307 309
308/* 310/*