diff options
author | James Smart <james.smart@emulex.com> | 2015-04-07 15:07:10 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-04-10 10:45:36 -0400 |
commit | c63779702094bcfdb2ead17181fbcd04b71b0215 (patch) | |
tree | 1bf524317e1f81dea752268060ff2955933b858a | |
parent | 946727dc073dbac5751f98902c1c73e3b7268218 (diff) |
lpfc: Add new mbx cmd recognition
Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
-rw-r--r-- | drivers/scsi/lpfc/lpfc_bsg.c | 1 | ||||
-rw-r--r-- | drivers/scsi/lpfc/lpfc_bsg.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_bsg.c b/drivers/scsi/lpfc/lpfc_bsg.c index a7bf359aa0c6..6b4cf315619e 100644 --- a/drivers/scsi/lpfc/lpfc_bsg.c +++ b/drivers/scsi/lpfc/lpfc_bsg.c | |||
@@ -4179,6 +4179,7 @@ lpfc_bsg_handle_sli_cfg_mbox(struct lpfc_hba *phba, struct fc_bsg_job *job, | |||
4179 | switch (opcode) { | 4179 | switch (opcode) { |
4180 | case COMN_OPCODE_GET_CNTL_ADDL_ATTRIBUTES: | 4180 | case COMN_OPCODE_GET_CNTL_ADDL_ATTRIBUTES: |
4181 | case COMN_OPCODE_GET_CNTL_ATTRIBUTES: | 4181 | case COMN_OPCODE_GET_CNTL_ATTRIBUTES: |
4182 | case COMN_OPCODE_GET_PROFILE_CONFIG: | ||
4182 | lpfc_printf_log(phba, KERN_INFO, LOG_LIBDFC, | 4183 | lpfc_printf_log(phba, KERN_INFO, LOG_LIBDFC, |
4183 | "3106 Handled SLI_CONFIG " | 4184 | "3106 Handled SLI_CONFIG " |
4184 | "subsys_comn, opcode:x%x\n", | 4185 | "subsys_comn, opcode:x%x\n", |
diff --git a/drivers/scsi/lpfc/lpfc_bsg.h b/drivers/scsi/lpfc/lpfc_bsg.h index 928ef609f363..7f26a9b5dcb9 100644 --- a/drivers/scsi/lpfc/lpfc_bsg.h +++ b/drivers/scsi/lpfc/lpfc_bsg.h | |||
@@ -246,6 +246,7 @@ struct lpfc_sli_config_emb1_subsys { | |||
246 | #define lpfc_emb1_subcmnd_subsys_WORD word6 | 246 | #define lpfc_emb1_subcmnd_subsys_WORD word6 |
247 | /* Subsystem COMN (0x01) OpCodes */ | 247 | /* Subsystem COMN (0x01) OpCodes */ |
248 | #define SLI_CONFIG_SUBSYS_COMN 0x01 | 248 | #define SLI_CONFIG_SUBSYS_COMN 0x01 |
249 | #define COMN_OPCODE_GET_PROFILE_CONFIG 0xA4 | ||
249 | #define COMN_OPCODE_READ_OBJECT 0xAB | 250 | #define COMN_OPCODE_READ_OBJECT 0xAB |
250 | #define COMN_OPCODE_WRITE_OBJECT 0xAC | 251 | #define COMN_OPCODE_WRITE_OBJECT 0xAC |
251 | #define COMN_OPCODE_READ_OBJECT_LIST 0xAD | 252 | #define COMN_OPCODE_READ_OBJECT_LIST 0xAD |