]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[SCSI] lpfc 8.3.45: Added dport mailbox pass through support.
authorJames Smart <james.smart@emulex.com>
Thu, 20 Feb 2014 14:56:28 +0000 (09:56 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:18:56 +0000 (10:18 -0700)
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/lpfc/lpfc_bsg.c
drivers/scsi/lpfc/lpfc_bsg.h

index 82134d20e2d88ac4b9092236eb26556869270c8f..ca2f4ea7cdefcde51d6381123584e480f16eb655 100644 (file)
@@ -4153,6 +4153,7 @@ lpfc_bsg_handle_sli_cfg_mbox(struct lpfc_hba *phba, struct fc_bsg_job *job,
                if (subsys == SLI_CONFIG_SUBSYS_FCOE) {
                        switch (opcode) {
                        case FCOE_OPCODE_READ_FCF:
+                       case FCOE_OPCODE_GET_DPORT_RESULTS:
                                lpfc_printf_log(phba, KERN_INFO, LOG_LIBDFC,
                                                "2957 Handled SLI_CONFIG "
                                                "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,
                                                        nemb_mse, dmabuf);
                                break;
                        case FCOE_OPCODE_ADD_FCF:
+                       case FCOE_OPCODE_SET_DPORT_MODE:
+                       case LPFC_MBOX_OPCODE_FCOE_LINK_DIAG_STATE:
                                lpfc_printf_log(phba, KERN_INFO, LOG_LIBDFC,
                                                "2958 Handled SLI_CONFIG "
                                                "subsys_fcoe, opcode:x%x\n",
index 67f7d0a160d195d6f586a8a23cb05bef662fc2ff..a94d4c9dfaa52dc2f3c161b3d725bbb33b79e4c6 100644 (file)
@@ -231,6 +231,8 @@ struct lpfc_sli_config_emb0_subsys {
 #define SLI_CONFIG_SUBSYS_FCOE         0x0C
 #define FCOE_OPCODE_READ_FCF           0x08
 #define FCOE_OPCODE_ADD_FCF            0x09
+#define FCOE_OPCODE_SET_DPORT_MODE     0x27
+#define FCOE_OPCODE_GET_DPORT_RESULTS  0x28
 };
 
 struct lpfc_sli_config_emb1_subsys {