aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/lpfc/lpfc_bsg.c3
-rw-r--r--drivers/scsi/lpfc/lpfc_bsg.h2
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
236struct lpfc_sli_config_emb1_subsys { 238struct lpfc_sli_config_emb1_subsys {