[SCSI] lpfc 8.3.31: Fix bug with driver not supporting the get controller attributes...
authorJames Smart <james.smart@emulex.com>
Thu, 10 May 2012 01:16:24 +0000 (21:16 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 17 May 2012 09:30:57 +0000 (10:30 +0100)
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
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 141e4b40bb552122cb7f827e0fc448be104d5502..7d5641db5ee44f2c93aaaed42b8dff2a10e6b45f 100644 (file)
@@ -1,7 +1,7 @@
 /*******************************************************************
  * This file is part of the Emulex Linux Device Driver for         *
  * Fibre Channel Host Bus Adapters.                                *
- * Copyright (C) 2009-2011 Emulex.  All rights reserved.           *
+ * Copyright (C) 2009-2012 Emulex.  All rights reserved.           *
  * EMULEX and SLI are trademarks of Emulex.                        *
  * www.emulex.com                                                  *
  *                                                                 *
@@ -3978,6 +3978,7 @@ lpfc_bsg_handle_sli_cfg_mbox(struct lpfc_hba *phba, struct fc_bsg_job *job,
                } else if (subsys == SLI_CONFIG_SUBSYS_COMN) {
                        switch (opcode) {
                        case COMN_OPCODE_GET_CNTL_ADDL_ATTRIBUTES:
+                       case COMN_OPCODE_GET_CNTL_ATTRIBUTES:
                                lpfc_printf_log(phba, KERN_INFO, LOG_LIBDFC,
                                                "3106 Handled SLI_CONFIG "
                                                "subsys_comn, opcode:x%x\n",
index edfe61fc52b18517f222b020cdfe30d10c61667a..67f7d0a160d195d6f586a8a23cb05bef662fc2ff 100644 (file)
@@ -1,7 +1,7 @@
 /*******************************************************************
  * This file is part of the Emulex Linux Device Driver for         *
  * Fibre Channel Host Bus Adapters.                                *
- * Copyright (C) 2010 Emulex.  All rights reserved.                *
+ * Copyright (C) 2010-2012 Emulex.  All rights reserved.                *
  * EMULEX and SLI are trademarks of Emulex.                        *
  * www.emulex.com                                                  *
  *                                                                 *
@@ -249,6 +249,7 @@ struct lpfc_sli_config_emb1_subsys {
 #define COMN_OPCODE_READ_OBJECT_LIST   0xAD
 #define COMN_OPCODE_DELETE_OBJECT      0xAE
 #define COMN_OPCODE_GET_CNTL_ADDL_ATTRIBUTES   0x79
+#define COMN_OPCODE_GET_CNTL_ATTRIBUTES        0x20
        uint32_t timeout;
        uint32_t request_length;
        uint32_t word9;
This page took 0.029407 seconds and 5 git commands to generate.