Print this page
MFV: illumos-omnios@aea0472ecb9ee91fa70556d6f6a941c10c989f1d
Add support for Emulex Corporation Lancer Gen6: LPe32000 FC Host Adapter
Author: Andy Fiddaman <omnios@citrus-it.co.uk>
NEX-1878 update emlxs from source provided by Emulex

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/fibre-channel/fca/emlxs/emlxs_fcf.h
          +++ new/usr/src/uts/common/sys/fibre-channel/fca/emlxs/emlxs_fcf.h
↓ open down ↓ 14 lines elided ↑ open up ↑
  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   22  /*
  23   23   * Copyright (c) 2004-2012 Emulex. All rights reserved.
  24   24   * Use is subject to license terms.
       25 + * Copyright 2018 OmniOS Community Edition (OmniOSce) Association.
  25   26   */
  26   27  
  27   28  #ifndef _EMLXS_FCF_H
  28   29  #define _EMLXS_FCF_H
  29   30  
  30   31  #ifdef  __cplusplus
  31   32  extern "C" {
  32   33  #endif
  33   34  
  34   35  #define FCFTAB_MAX_FCFI_COUNT           1
↓ open down ↓ 58 lines elided ↑ open up ↑
  93   94  {
  94   95          struct XRIobj   *_f;
  95   96          struct XRIobj   *_b;
  96   97          uint16_t        XRI;
  97   98          uint16_t        state;
  98   99  #define XRI_STATE_FREE                  0
  99  100  #define XRI_STATE_ALLOCATED             1
 100  101  
 101  102          uint16_t        sge_count;
 102  103          uint16_t        iotag;
 103      -        MBUF_INFO       SGList;
      104 +        MATCHMAP        *SGList;
      105 +        uint32_t        SGSeg;
 104  106          struct RPIobj   *rpip;
 105  107          struct RPIobj   *reserved_rpip;
 106  108          emlxs_buf_t     *sbp;
 107  109          uint32_t        rx_id; /* Used for unsol exchanges */
 108  110          uint32_t        flag;
 109  111  #define EMLXS_XRI_RESERVED              0x00000001
 110  112  #define EMLXS_XRI_PENDING_IO            0x00000002
 111  113  #define EMLXS_XRI_BUSY                  0x00000004
 112  114  
 113  115          uint32_t        type;
↓ open down ↓ 395 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX