aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_mbox.c
diff options
context:
space:
mode:
authorJames Smart <james.smart@emulex.com>2011-12-13 13:21:57 -0500
committerJames Bottomley <JBottomley@Parallels.com>2011-12-15 01:57:44 -0500
commitcb69f7decc3777822b240c46890a209df288c7bb (patch)
tree8ae647f9d3d50452fc0bc684a8b4108a4f94a65e /drivers/scsi/lpfc/lpfc_mbox.c
parentff78d8f97c85a568c0799b06137a4171db45b923 (diff)
[SCSI] lpfc 8.3.28: Add support for ABTS failure handling
Add support for ABTS failure handling: - Add asynchronous ABTS notification event feature to driver (CR 124578) - Change driver message 3092 and 3116 to KERN_WARNING (CR 124768) - Alter the SCR ELS command to use the temporary RPI and the Destination DID for SLI4-FC (CR 126070) Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_mbox.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_mbox.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_mbox.c b/drivers/scsi/lpfc/lpfc_mbox.c
index 0228f04061da..328782efc839 100644
--- a/drivers/scsi/lpfc/lpfc_mbox.c
+++ b/drivers/scsi/lpfc/lpfc_mbox.c
@@ -1293,6 +1293,10 @@ lpfc_config_port(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb)
1293 phba->sli_rev = LPFC_SLI_REV2; 1293 phba->sli_rev = LPFC_SLI_REV2;
1294 mb->un.varCfgPort.sli_mode = phba->sli_rev; 1294 mb->un.varCfgPort.sli_mode = phba->sli_rev;
1295 1295
1296 /* If this is an SLI3 port, configure async status notification. */
1297 if (phba->sli_rev == LPFC_SLI_REV3)
1298 mb->un.varCfgPort.casabt = 1;
1299
1296 /* Now setup pcb */ 1300 /* Now setup pcb */
1297 phba->pcb->type = TYPE_NATIVE_SLI2; 1301 phba->pcb->type = TYPE_NATIVE_SLI2;
1298 phba->pcb->feature = FEATURE_INITIAL_SLI2; 1302 phba->pcb->feature = FEATURE_INITIAL_SLI2;