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>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/fibre-channel/fca/qlc/ql_apps.h
          +++ new/usr/src/uts/common/sys/fibre-channel/fca/qlc/ql_apps.h
↓ open down ↓ 11 lines elided ↑ open up ↑
  12   12   *
  13   13   * When distributing Covered Code, include this CDDL HEADER in each
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22      -/* Copyright 2009 QLogic Corporation */
       22 +/* Copyright 2015 QLogic Corporation */
  23   23  
  24   24  /*
  25   25   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  26   26   * Use is subject to license terms.
  27   27   */
  28   28  
  29   29  #ifndef _QL_APPS_H
  30   30  #define _QL_APPS_H
  31   31  
  32   32  /*
  33   33   * ISP2xxx Solaris Fibre Channel Adapter (FCA) driver header file.
  34   34   *
  35   35   * ***********************************************************************
  36   36   * *                                                                    **
  37   37   * *                            NOTICE                                  **
  38      - * *            COPYRIGHT (C) 1996-2009 QLOGIC CORPORATION              **
       38 + * *            COPYRIGHT (C) 1996-2015 QLOGIC CORPORATION              **
  39   39   * *                    ALL RIGHTS RESERVED                             **
  40   40   * *                                                                    **
  41   41   * ***********************************************************************
  42   42   *
  43   43   */
  44   44  
  45   45  #ifdef  __cplusplus
  46   46  extern "C" {
  47   47  #endif
  48   48  
↓ open down ↓ 57 lines elided ↑ open up ↑
 106  106   * Name:        Diagnostic Loopback Parameter Structure
 107  107   *
 108  108   * Purpose:     Used for loopback parameter data
 109  109   *
 110  110   * Used by:
 111  111   *              qlctest utility
 112  112   *
 113  113   */
 114  114  #ifndef apps_64bit
 115  115  typedef struct lbp {
 116      -        uint16_t  options;
 117      -        uint32_t  transfer_count;
 118      -        uint16_t  transfer_segment_count;
 119      -        uint16_t  receive_segment_count;
 120      -        uint32_t  transfer_data_address;
 121      -        uint32_t  receive_data_address;
 122      -        uint32_t  iteration_count;
      116 +        uint16_t        options;
      117 +        uint32_t        transfer_count;
      118 +        uint16_t        transfer_segment_count;
      119 +        uint16_t        receive_segment_count;
      120 +        uint32_t        transfer_data_address;
      121 +        uint32_t        receive_data_address;
      122 +        uint32_t        iteration_count;
 123  123  } lbp_t;
 124  124  #else
 125  125  typedef struct lbp {
 126      -        uint16_t  options;
 127      -        uint32_t  transfer_count;
 128      -        uint16_t  transfer_segment_count;
 129      -        uint16_t  receive_segment_count;
 130      -        uint64_t  transfer_data_address;
 131      -        uint64_t  receive_data_address;
 132      -        uint32_t  iteration_count;
      126 +        uint16_t        options;
      127 +        uint32_t        transfer_count;
      128 +        uint16_t        transfer_segment_count;
      129 +        uint16_t        receive_segment_count;
      130 +        uint64_t        transfer_data_address;
      131 +        uint64_t        receive_data_address;
      132 +        uint32_t        iteration_count;
 133  133  } lbp_t;
 134  134  #endif
 135  135  
 136  136  /*
 137  137   * Defines used by:
 138  138   *                      qlctest utility
 139  139   *
 140  140   * Prupose:
 141  141   *      diag switch clause hooks provided for requested diagnostic
 142  142   *      functionality (Check command Queue, Revision Level, Firmwware
↓ open down ↓ 28 lines elided ↑ open up ↑
 171  171  #define QL_ADM_OP       402
 172  172  
 173  173  /*
 174  174   * Purpose:
 175  175   *      QLA_ADM_OP command definitions
 176  176   *
 177  177   * Used by:
 178  178   *              qladm utility
 179  179   *              qlctest utility
 180  180   */
 181      -typedef enum ql_adm_cmd  {
      181 +typedef enum ql_adm_cmd {
 182  182          QL_EXTENDED_LOGGING,
 183  183          QL_ADAPTER_INFO,
 184  184          QL_DEVICE_LIST,
 185  185          QL_LOOP_RESET,
 186  186          QL_FW_DUMP,
      187 +        QL_FW_DUMP_TRIGGER,
      188 +        QL_BEACON_ENABLE,
      189 +        QL_BEACON_DISABLE,
 187  190          QL_NVRAM_LOAD,
 188  191          QL_NVRAM_DUMP,
 189  192          QL_FLASH_LOAD,
 190  193          QL_PROP_UPDATE_INT,
 191  194          QL_UPDATE_PROPERTIES,
 192  195          QL_VPD_LOAD,
 193  196          QL_VPD_DUMP,
 194  197          QL_VPD_GETTAG,
 195  198          QL_UPD_FWMODULE
 196  199  } ql_adm_cmd_t;
↓ open down ↓ 70 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX