diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_els.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_els.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c index 8c5c3aea4a19..9fe36bf6fd14 100644 --- a/drivers/scsi/lpfc/lpfc_els.c +++ b/drivers/scsi/lpfc/lpfc_els.c | |||
@@ -28,8 +28,10 @@ | |||
28 | #include <scsi/scsi_host.h> | 28 | #include <scsi/scsi_host.h> |
29 | #include <scsi/scsi_transport_fc.h> | 29 | #include <scsi/scsi_transport_fc.h> |
30 | 30 | ||
31 | #include "lpfc_hw4.h" | ||
31 | #include "lpfc_hw.h" | 32 | #include "lpfc_hw.h" |
32 | #include "lpfc_sli.h" | 33 | #include "lpfc_sli.h" |
34 | #include "lpfc_sli4.h" | ||
33 | #include "lpfc_nl.h" | 35 | #include "lpfc_nl.h" |
34 | #include "lpfc_disc.h" | 36 | #include "lpfc_disc.h" |
35 | #include "lpfc_scsi.h" | 37 | #include "lpfc_scsi.h" |
@@ -220,7 +222,7 @@ lpfc_prep_els_iocb(struct lpfc_vport *vport, uint8_t expectRsp, | |||
220 | icmd->un.elsreq64.myID = vport->fc_myDID; | 222 | icmd->un.elsreq64.myID = vport->fc_myDID; |
221 | 223 | ||
222 | /* For ELS_REQUEST64_CR, use the VPI by default */ | 224 | /* For ELS_REQUEST64_CR, use the VPI by default */ |
223 | icmd->ulpContext = vport->vpi; | 225 | icmd->ulpContext = vport->vpi + phba->vpi_base; |
224 | icmd->ulpCt_h = 0; | 226 | icmd->ulpCt_h = 0; |
225 | /* The CT field must be 0=INVALID_RPI for the ECHO cmd */ | 227 | /* The CT field must be 0=INVALID_RPI for the ECHO cmd */ |
226 | if (elscmd == ELS_CMD_ECHO) | 228 | if (elscmd == ELS_CMD_ECHO) |