Print this page
NEX-5717 import QLogic 16G FC drivers
Reviewed by: Steve Peng <steve.peng@nexenta.com>
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>


   2  * CDDL HEADER START
   3  *
   4  * The contents of this file are subject to the terms of the
   5  * Common Development and Distribution License (the "License").
   6  * You may not use this file except in compliance with the License.
   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 
  22 /* Copyright 2009 QLogic Corporation */
  23 
  24 /*
  25  * File Name: exioctso.h
  26  *
  27  * San/Device Management OS dependent Ioctl Header
  28  *
  29  * ***********************************************************************
  30  * *                                                                    **
  31  * *                            NOTICE                                  **
  32  * *            COPYRIGHT (C) 2009 QLOGIC CORPORATION                   **
  33  * *                    ALL RIGHTS RESERVED                             **
  34  * *                                                                    **
  35  * ***********************************************************************
  36  *
  37  */
  38 
  39 #ifndef _EXIOCTSO_H_
  40 #define _EXIOCTSO_H_
  41 




  42 #include <sys/int_types.h>
  43 
  44 #define INT8    int8_t
  45 #define INT16   int16_t
  46 #define INT32   int32_t
  47 #define INT64   int64_t
  48 
  49 #define UINT8   uint8_t
  50 #define UINT16  uint16_t
  51 #define UINT32  uint32_t
  52 #define UINT64  uint64_t
  53 
  54 #ifdef LP64
  55 #define EXT_ADDR_MODE_OS        EXT_DEF_ADDR_MODE_64
  56 #else
  57 #define EXT_ADDR_MODE_OS        EXT_DEF_ADDR_MODE_32
  58 #endif
  59 
  60 #define EXT_DEF_MAX_HBA_OS              256     /* 0 - 0xFF */
  61 #define EXT_DEF_MAX_BUS_OS              1


  89 #define EXT_CC_UPDATE_OPTION_ROM_EX_OS          119
  90 #define EXT_CC_WWPN_TO_SCSIADDR_OS              120 /* Temporary definition */
  91 #define EXT_CC_GET_VPD_OS                       121
  92 #define EXT_CC_SET_VPD_OS                       122
  93 #define EXT_CC_GET_FCACHE_OS                    123
  94 #define EXT_CC_HOST_DRVNAME_OS                  124
  95 #define EXT_CC_GET_SFP_DATA_OS                  125
  96 #define EXT_CC_PORT_PARAM_OS                    126
  97 #define EXT_CC_GET_FCACHE_EX_OS                 127
  98 #define EXT_CC_GET_PCI_DATA_OS                  128
  99 #define EXT_CC_GET_FWEXTTRACE_OS                129
 100 #define EXT_CC_GET_FWFCETRACE_OS                130
 101 #define EXT_CC_MENLO_RESET                      131
 102 #define EXT_CC_MENLO_GET_FW_VERSION             132
 103 #define EXT_CC_MENLO_UPDATE_FW                  133
 104 #define EXT_CC_MENLO_MANAGE_INFO                134
 105 #define EXT_CC_GET_VP_CNT_ID_OS                 135
 106 #define EXT_CC_VPORT_CMD_OS                     136
 107 #define EXT_CC_ACCESS_FLASH_OS                  137
 108 #define EXT_CC_RESET_FW_OS                      138








 109 
 110 #define EXT_CC_HBA_NODE_SBUS                    0x01
 111 



 112 #endif /* _EXIOCTSO_H_ */


   2  * CDDL HEADER START
   3  *
   4  * The contents of this file are subject to the terms of the
   5  * Common Development and Distribution License (the "License").
   6  * You may not use this file except in compliance with the License.
   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 
  22 /* Copyright 2015 QLogic Corporation */
  23 
  24 /*
  25  * File Name: exioctso.h
  26  *
  27  * San/Device Management OS dependent Ioctl Header
  28  *
  29  * ***********************************************************************
  30  * *                                                                    **
  31  * *                            NOTICE                                  **
  32  * *            COPYRIGHT (C) 2015 QLOGIC CORPORATION                   **
  33  * *                    ALL RIGHTS RESERVED                             **
  34  * *                                                                    **
  35  * ***********************************************************************
  36  *
  37  */
  38 
  39 #ifndef _EXIOCTSO_H_
  40 #define _EXIOCTSO_H_
  41 
  42 #ifdef  __cplusplus
  43 extern "C" {
  44 #endif
  45 
  46 #include <sys/int_types.h>
  47 
  48 #define INT8    int8_t
  49 #define INT16   int16_t
  50 #define INT32   int32_t
  51 #define INT64   int64_t
  52 
  53 #define UINT8   uint8_t
  54 #define UINT16  uint16_t
  55 #define UINT32  uint32_t
  56 #define UINT64  uint64_t
  57 
  58 #ifdef LP64
  59 #define EXT_ADDR_MODE_OS        EXT_DEF_ADDR_MODE_64
  60 #else
  61 #define EXT_ADDR_MODE_OS        EXT_DEF_ADDR_MODE_32
  62 #endif
  63 
  64 #define EXT_DEF_MAX_HBA_OS              256     /* 0 - 0xFF */
  65 #define EXT_DEF_MAX_BUS_OS              1


  93 #define EXT_CC_UPDATE_OPTION_ROM_EX_OS          119
  94 #define EXT_CC_WWPN_TO_SCSIADDR_OS              120 /* Temporary definition */
  95 #define EXT_CC_GET_VPD_OS                       121
  96 #define EXT_CC_SET_VPD_OS                       122
  97 #define EXT_CC_GET_FCACHE_OS                    123
  98 #define EXT_CC_HOST_DRVNAME_OS                  124
  99 #define EXT_CC_GET_SFP_DATA_OS                  125
 100 #define EXT_CC_PORT_PARAM_OS                    126
 101 #define EXT_CC_GET_FCACHE_EX_OS                 127
 102 #define EXT_CC_GET_PCI_DATA_OS                  128
 103 #define EXT_CC_GET_FWEXTTRACE_OS                129
 104 #define EXT_CC_GET_FWFCETRACE_OS                130
 105 #define EXT_CC_MENLO_RESET                      131
 106 #define EXT_CC_MENLO_GET_FW_VERSION             132
 107 #define EXT_CC_MENLO_UPDATE_FW                  133
 108 #define EXT_CC_MENLO_MANAGE_INFO                134
 109 #define EXT_CC_GET_VP_CNT_ID_OS                 135
 110 #define EXT_CC_VPORT_CMD_OS                     136
 111 #define EXT_CC_ACCESS_FLASH_OS                  137
 112 #define EXT_CC_RESET_FW_OS                      138
 113 #define EXT_CC_I2C_DATA_OS                      139
 114 #define EXT_CC_DUMP_OS                          140
 115 #define EXT_CC_SERDES_REG_OP_OS                 141
 116 #define EXT_CC_VF_STATE_OS                      142
 117 #define EXT_CC_SERDES_REG_OP_EX_OS              143
 118 #define EXT_CC_ELS_PASSTHRU_OS                  144
 119 #define EXT_CC_FLASH_UPDATE_CAPS_OS             145
 120 #define EXT_CC_GET_BBCR_DATA_OS                 146
 121 
 122 #define EXT_CC_HBA_NODE_SBUS                    0x01
 123 
 124 #ifdef  __cplusplus
 125 }
 126 #endif
 127 #endif /* _EXIOCTSO_H_ */