[SCSI] lpfc 8.3.33: Fixed incomplete list of SLI4 commands with extended timeout...
authorJames Smart <james.smart@emulex.com>
Fri, 3 Aug 2012 16:37:08 +0000 (12:37 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 14 Sep 2012 13:46:06 +0000 (14:46 +0100)
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/lpfc/lpfc_hw.h
drivers/scsi/lpfc/lpfc_hw4.h
drivers/scsi/lpfc/lpfc_mbox.c
drivers/scsi/lpfc/lpfc_sli.c

index d74470481ca689d836f9c54f9d66e98e84d2879b..9ff188e1ca3206ddaa1a64816050a095d478223e 100644 (file)
@@ -1460,6 +1460,7 @@ typedef struct {          /* FireFly BIU registers */
 #define MBX_UNREG_FCFI     0xA2
 #define MBX_INIT_VFI        0xA3
 #define MBX_INIT_VPI        0xA4
+#define MBX_ACCESS_VDATA    0xA5
 
 #define MBX_AUTH_PORT       0xF8
 #define MBX_SECURITY_MGMT   0xF9
index 45fbfb623ad90e4e80ea2258fa0ca2aad77e9159..35af35b5ab9715f49c06680cf7b5db0eb0003bbd 100644 (file)
@@ -886,13 +886,19 @@ struct mbox_header {
 #define LPFC_MBOX_OPCODE_EQ_DESTROY                    0x37
 #define LPFC_MBOX_OPCODE_QUERY_FW_CFG                  0x3A
 #define LPFC_MBOX_OPCODE_FUNCTION_RESET                        0x3D
+#define LPFC_MBOX_OPCODE_SET_PHYSICAL_LINK_CONFIG      0x3E
+#define LPFC_MBOX_OPCODE_SET_BOOT_CONFIG               0x43
 #define LPFC_MBOX_OPCODE_GET_PORT_NAME                 0x4D
 #define LPFC_MBOX_OPCODE_MQ_CREATE_EXT                 0x5A
+#define LPFC_MBOX_OPCODE_GET_VPD_DATA                  0x5B
+#define LPFC_MBOX_OPCODE_SEND_ACTIVATION               0x73
+#define LPFC_MBOX_OPCODE_RESET_LICENSES                        0x74
 #define LPFC_MBOX_OPCODE_GET_RSRC_EXTENT_INFO          0x9A
 #define LPFC_MBOX_OPCODE_GET_ALLOC_RSRC_EXTENT         0x9B
 #define LPFC_MBOX_OPCODE_ALLOC_RSRC_EXTENT             0x9C
 #define LPFC_MBOX_OPCODE_DEALLOC_RSRC_EXTENT           0x9D
 #define LPFC_MBOX_OPCODE_GET_FUNCTION_CONFIG           0xA0
+#define LPFC_MBOX_OPCODE_GET_PROFILE_CAPACITIES                0xA1
 #define LPFC_MBOX_OPCODE_GET_PROFILE_CONFIG            0xA4
 #define LPFC_MBOX_OPCODE_SET_PROFILE_CONFIG            0xA5
 #define LPFC_MBOX_OPCODE_GET_PROFILE_LIST              0xA6
index 0e5d9a4f3b3d3db8d9d5f04dd99e74c1961a80f0..721ce1f430c78a0ccb2422f621f3df00f59b60ca 100644 (file)
@@ -1612,12 +1612,15 @@ lpfc_mbox_tmo_val(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq)
 
        switch (mbox->mbxCommand) {
        case MBX_WRITE_NV:      /* 0x03 */
+       case MBX_DUMP_MEMORY:   /* 0x17 */
        case MBX_UPDATE_CFG:    /* 0x1B */
        case MBX_DOWN_LOAD:     /* 0x1C */
        case MBX_DEL_LD_ENTRY:  /* 0x1D */
+       case MBX_WRITE_VPARMS:  /* 0x32 */
        case MBX_LOAD_AREA:     /* 0x81 */
        case MBX_WRITE_WWN:     /* 0x98 */
        case MBX_LOAD_EXP_ROM:  /* 0x9C */
+       case MBX_ACCESS_VDATA:  /* 0xA5 */
                return LPFC_MBOX_TMO_FLASH_CMD;
        case MBX_SLI4_CONFIG:   /* 0x9b */
                subsys = lpfc_sli_config_mbox_subsys_get(phba, mboxq);
@@ -1628,11 +1631,17 @@ lpfc_mbox_tmo_val(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq)
                        case LPFC_MBOX_OPCODE_WRITE_OBJECT:
                        case LPFC_MBOX_OPCODE_READ_OBJECT_LIST:
                        case LPFC_MBOX_OPCODE_DELETE_OBJECT:
-                       case LPFC_MBOX_OPCODE_GET_FUNCTION_CONFIG:
                        case LPFC_MBOX_OPCODE_GET_PROFILE_LIST:
                        case LPFC_MBOX_OPCODE_SET_ACT_PROFILE:
+                       case LPFC_MBOX_OPCODE_GET_PROFILE_CONFIG:
                        case LPFC_MBOX_OPCODE_SET_PROFILE_CONFIG:
                        case LPFC_MBOX_OPCODE_GET_FACTORY_PROFILE_CONFIG:
+                       case LPFC_MBOX_OPCODE_GET_PROFILE_CAPACITIES:
+                       case LPFC_MBOX_OPCODE_SEND_ACTIVATION:
+                       case LPFC_MBOX_OPCODE_RESET_LICENSES:
+                       case LPFC_MBOX_OPCODE_SET_BOOT_CONFIG:
+                       case LPFC_MBOX_OPCODE_GET_VPD_DATA:
+                       case LPFC_MBOX_OPCODE_SET_PHYSICAL_LINK_CONFIG:
                                return LPFC_MBOX_SLI4_CONFIG_EXTENDED_TMO;
                        }
                }
index b0fe153452aa38f8adf95c74c25824f6bec6e459..84ed28bd4b13eba88098905ffd96e7fdf1d819cd 100644 (file)
@@ -2087,6 +2087,7 @@ lpfc_sli_chk_mbx_command(uint8_t mbxCommand)
        case MBX_READ_EVENT_LOG:
        case MBX_SECURITY_MGMT:
        case MBX_AUTH_PORT:
+       case MBX_ACCESS_VDATA:
                ret = mbxCommand;
                break;
        default: