Print this page
hg changesets 607a5b46a793..b706c96317c3
Fix ncpus for early boot config
Purge the ack to the interrupt before exiting mptsas_intr()
Changes from code review
Changes to enable driver to compile.
Header paths, object lists, etc.

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/scsi/adapters/mpt_sas3/mptsas3_hash.h
          +++ new/usr/src/uts/common/sys/scsi/adapters/mpt_sas3/mptsas3_hash.h
↓ open down ↓ 3 lines elided ↑ open up ↑
   4    4   * You may only use this file in accordance with the terms of version
   5    5   * 1.0 of the CDDL.
   6    6   *
   7    7   * A full copy of the text of the CDDL should have accompanied this
   8    8   * source.  A copy of the CDDL is also available via the Internet at
   9    9   * http://www.illumos.org/license/CDDL.
  10   10   */
  11   11  
  12   12  /*
  13   13   * Copyright 2014 Joyent, Inc.  All rights reserved.
       14 + * Copyright (c) 2014, Tegile Systems Inc. All rights reserved.
  14   15   */
  15   16  
  16      -#ifndef _SYS_SCSI_ADAPTERS_MPTHASH_H
  17      -#define _SYS_SCSI_ADAPTERS_MPTHASH_H
       17 +#ifndef _SYS_SCSI_ADAPTERS_MPTSAS3_HASH_H
       18 +#define _SYS_SCSI_ADAPTERS_MPTSAS3_HASH_H
  18   19  
  19   20  #include <sys/types.h>
  20   21  #include <sys/list.h>
  21   22  
  22   23  #define RHL_F_DEAD      0x01
  23   24  
  24   25  typedef struct refhash_link {
  25   26          list_node_t rhl_chain_link;
  26   27          list_node_t rhl_global_link;
  27   28          uint_t rhl_flags;
↓ open down ↓ 23 lines elided ↑ open up ↑
  51   52  extern void refhash_insert(refhash_t *, void *);
  52   53  extern void refhash_remove(refhash_t *, void *);
  53   54  extern void *refhash_lookup(refhash_t *, const void *);
  54   55  extern void *refhash_linear_search(refhash_t *, refhash_eval_f, void *);
  55   56  extern void refhash_hold(refhash_t *, void *);
  56   57  extern void refhash_rele(refhash_t *, void *);
  57   58  extern void *refhash_first(refhash_t *);
  58   59  extern void *refhash_next(refhash_t *, void *);
  59   60  extern boolean_t refhash_obj_valid(refhash_t *hp, const void *);
  60   61  
  61      -#endif  /* _SYS_SCSI_ADAPTERS_MPTHASH_H */
       62 +#endif  /* _SYS_SCSI_ADAPTERS_MPTSAS3_HASH_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX