diff options
author | James Smart <james.smart@emulex.com> | 2014-02-20 09:56:28 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2014-03-15 13:18:56 -0400 |
commit | 2a2719d370b2ec31451462f2775986e42cbeb39f (patch) | |
tree | cfb01cd3f0fb0de6fcb304b5c0420ff686f5a5e0 /drivers/scsi/lpfc | |
parent | 70ecd49d3cff73729bb8c4a8163b1d40542cc25a (diff) |
[SCSI] lpfc 8.3.45: Added dport mailbox pass through support.
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_bsg.c | 3 | ||||
-rw-r--r-- | drivers/scsi/lpfc/lpfc_bsg.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_bsg.c b/drivers/scsi/lpfc/lpfc_bsg.c index 82134d20e2d8..ca2f4ea7cdef 100644 --- a/drivers/scsi/lpfc/lpfc_bsg.c +++ b/drivers/scsi/lpfc/lpfc_bsg.c | |||
@@ -4153,6 +4153,7 @@ lpfc_bsg_handle_sli_cfg_mbox(struct lpfc_hba *phba, struct fc_bsg_job *job, | |||
4153 | if (subsys == SLI_CONFIG_SUBSYS_FCOE) { | 4153 | if (subsys == SLI_CONFIG_SUBSYS_FCOE) { |
4154 | switch (opcode) { | 4154 | switch (opcode) { |
4155 | case FCOE_OPCODE_READ_FCF: | 4155 | case FCOE_OPCODE_READ_FCF: |
4156 | case FCOE_OPCODE_GET_DPORT_RESULTS: | ||
4156 | lpfc_printf_log(phba, KERN_INFO, LOG_LIBDFC, | 4157 | lpfc_printf_log(phba, KERN_INFO, LOG_LIBDFC, |
4157 | "2957 Handled SLI_CONFIG " | 4158 | "2957 Handled SLI_CONFIG " |
4158 | "subsys_fcoe, opcode:x%x\n", | 4159 | "subsys_fcoe, opcode:x%x\n", |
@@ -4161,6 +4162,8 @@ lpfc_bsg_handle_sli_cfg_mbox(struct lpfc_hba *phba, struct fc_bsg_job *job, | |||
4161 | nemb_mse, dmabuf); | 4162 | nemb_mse, dmabuf); |
4162 | break; | 4163 | break; |
4163 | case FCOE_OPCODE_ADD_FCF: | 4164 | case FCOE_OPCODE_ADD_FCF: |
4165 | case FCOE_OPCODE_SET_DPORT_MODE: | ||
4166 | case LPFC_MBOX_OPCODE_FCOE_LINK_DIAG_STATE: | ||
4164 | lpfc_printf_log(phba, KERN_INFO, LOG_LIBDFC, | 4167 | lpfc_printf_log(phba, KERN_INFO, LOG_LIBDFC, |
4165 | "2958 Handled SLI_CONFIG " | 4168 | "2958 Handled SLI_CONFIG " |
4166 | "subsys_fcoe, opcode:x%x\n", | 4169 | "subsys_fcoe, opcode:x%x\n", |
diff --git a/drivers/scsi/lpfc/lpfc_bsg.h b/drivers/scsi/lpfc/lpfc_bsg.h index 67f7d0a160d1..a94d4c9dfaa5 100644 --- a/drivers/scsi/lpfc/lpfc_bsg.h +++ b/drivers/scsi/lpfc/lpfc_bsg.h | |||
@@ -231,6 +231,8 @@ struct lpfc_sli_config_emb0_subsys { | |||
231 | #define SLI_CONFIG_SUBSYS_FCOE 0x0C | 231 | #define SLI_CONFIG_SUBSYS_FCOE 0x0C |
232 | #define FCOE_OPCODE_READ_FCF 0x08 | 232 | #define FCOE_OPCODE_READ_FCF 0x08 |
233 | #define FCOE_OPCODE_ADD_FCF 0x09 | 233 | #define FCOE_OPCODE_ADD_FCF 0x09 |
234 | #define FCOE_OPCODE_SET_DPORT_MODE 0x27 | ||
235 | #define FCOE_OPCODE_GET_DPORT_RESULTS 0x28 | ||
234 | }; | 236 | }; |
235 | 237 | ||
236 | struct lpfc_sli_config_emb1_subsys { | 238 | struct lpfc_sli_config_emb1_subsys { |