diff options
author | James Smart <James.Smart@Emulex.Com> | 2008-04-07 10:16:05 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-04-10 08:53:12 -0400 |
commit | 97eab63490452f0a5242fa94ddaa9b727d69cb25 (patch) | |
tree | b85d3bf226d4acf208981f1fcdbc9fde98d1c6a6 /drivers/scsi/lpfc/lpfc_els.c | |
parent | 9b37960523afb1b519b406dec4c4f3155b82b2ba (diff) |
[SCSI] lpfc 8.2.6 : Miscellaneous Fixes
Miscellaneous Fixes
- Allow WRITE_VPARAM command when the virtual port is in a stopped state
- Fixed handling of our queue depth max that was unconditionally raising
the depth on all vports, rather than just the vport affected.
- Fix race in interrupt handler for mailbox processing that did not take
out the host lock.
- Removed unused functions: find_node, findnode_rpi, and fabric_abort_flogi
- Correct misspelled word unsolicited in message 0146
- Correct HW-error 5 handling - it should not reset the adapter
- Correct handling of IOCBs, which did not null out our pCmd field before
invoking the midlayer io done function.
- Changed our maximum supported target id to 4096
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_els.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_els.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c index 6e0e991c6445..886c5f1b11d2 100644 --- a/drivers/scsi/lpfc/lpfc_els.c +++ b/drivers/scsi/lpfc/lpfc_els.c | |||
@@ -5097,39 +5097,3 @@ void lpfc_fabric_abort_hba(struct lpfc_hba *phba) | |||
5097 | (piocb->iocb_cmpl) (phba, piocb, piocb); | 5097 | (piocb->iocb_cmpl) (phba, piocb, piocb); |
5098 | } | 5098 | } |
5099 | } | 5099 | } |
5100 | |||
5101 | |||
5102 | #if 0 | ||
5103 | void lpfc_fabric_abort_flogi(struct lpfc_hba *phba) | ||
5104 | { | ||
5105 | LIST_HEAD(completions); | ||
5106 | struct lpfc_iocbq *tmp_iocb, *piocb; | ||
5107 | IOCB_t *cmd; | ||
5108 | struct lpfc_nodelist *ndlp; | ||
5109 | |||
5110 | spin_lock_irq(&phba->hbalock); | ||
5111 | list_for_each_entry_safe(piocb, tmp_iocb, &phba->fabric_iocb_list, | ||
5112 | list) { | ||
5113 | |||
5114 | cmd = &piocb->iocb; | ||
5115 | ndlp = (struct lpfc_nodelist *) piocb->context1; | ||
5116 | if (cmd->ulpCommand == CMD_ELS_REQUEST64_CR && | ||
5117 | ndlp != NULL && | ||
5118 | ndlp->nlp_DID == Fabric_DID) | ||
5119 | list_move_tail(&piocb->list, &completions); | ||
5120 | } | ||
5121 | spin_unlock_irq(&phba->hbalock); | ||
5122 | |||
5123 | while (!list_empty(&completions)) { | ||
5124 | piocb = list_get_first(&completions, struct lpfc_iocbq, list); | ||
5125 | list_del_init(&piocb->list); | ||
5126 | |||
5127 | cmd = &piocb->iocb; | ||
5128 | cmd->ulpStatus = IOSTAT_LOCAL_REJECT; | ||
5129 | cmd->un.ulpWord[4] = IOERR_SLI_ABORTED; | ||
5130 | (piocb->iocb_cmpl) (phba, piocb, piocb); | ||
5131 | } | ||
5132 | } | ||
5133 | #endif /* 0 */ | ||
5134 | |||
5135 | |||