diff options
author | Vijaya Mohan Guvva <vmohan@brocade.com> | 2013-05-13 05:33:30 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-06-26 19:38:46 -0400 |
commit | ea3837a7121a18f5a4f3be2b8c66ab78d8263988 (patch) | |
tree | b8661a04f309c51ee0e3e0ebbab35d8b30ce02df /drivers/scsi/bfa | |
parent | f52c98d4079df695ece1b2cd82fb5dc9372badf6 (diff) |
[SCSI] bfa: Allow rsp queue process during ioc disable
Allow processing completions from firmware during IOC_DISABLE request is
being processed by the firmware, by setting the queue_process flag
appropriately.
Signed-off-by: Vijaya Mohan Guvva <vmohan@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa')
-rw-r--r-- | drivers/scsi/bfa/bfa_core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/bfa/bfa_core.c b/drivers/scsi/bfa/bfa_core.c index 342d7d9c0997..520540a5fef6 100644 --- a/drivers/scsi/bfa/bfa_core.c +++ b/drivers/scsi/bfa/bfa_core.c | |||
@@ -1432,6 +1432,7 @@ bfa_iocfc_disable_cbfn(void *bfa_arg) | |||
1432 | { | 1432 | { |
1433 | struct bfa_s *bfa = bfa_arg; | 1433 | struct bfa_s *bfa = bfa_arg; |
1434 | 1434 | ||
1435 | bfa->queue_process = BFA_FALSE; | ||
1435 | bfa_fsm_send_event(&bfa->iocfc, IOCFC_E_IOC_DISABLED); | 1436 | bfa_fsm_send_event(&bfa->iocfc, IOCFC_E_IOC_DISABLED); |
1436 | } | 1437 | } |
1437 | 1438 | ||
@@ -1567,7 +1568,6 @@ bfa_iocfc_start(struct bfa_s *bfa) | |||
1567 | void | 1568 | void |
1568 | bfa_iocfc_stop(struct bfa_s *bfa) | 1569 | bfa_iocfc_stop(struct bfa_s *bfa) |
1569 | { | 1570 | { |
1570 | bfa->queue_process = BFA_FALSE; | ||
1571 | bfa_fsm_send_event(&bfa->iocfc, IOCFC_E_STOP); | 1571 | bfa_fsm_send_event(&bfa->iocfc, IOCFC_E_STOP); |
1572 | } | 1572 | } |
1573 | 1573 | ||
@@ -1674,7 +1674,6 @@ bfa_iocfc_disable(struct bfa_s *bfa) | |||
1674 | bfa_plog_str(bfa->plog, BFA_PL_MID_HAL, BFA_PL_EID_MISC, 0, | 1674 | bfa_plog_str(bfa->plog, BFA_PL_MID_HAL, BFA_PL_EID_MISC, 0, |
1675 | "IOC Disable"); | 1675 | "IOC Disable"); |
1676 | 1676 | ||
1677 | bfa->queue_process = BFA_FALSE; | ||
1678 | bfa_fsm_send_event(&bfa->iocfc, IOCFC_E_DISABLE); | 1677 | bfa_fsm_send_event(&bfa->iocfc, IOCFC_E_DISABLE); |
1679 | } | 1678 | } |
1680 | 1679 | ||