Print this page
12788 fix tst.include.ksh for ddi_ufm.h

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/ddi_ufm.h
          +++ new/usr/src/uts/common/sys/ddi_ufm.h
↓ open down ↓ 2 lines elided ↑ open up ↑
   3    3   * Common Development and Distribution License ("CDDL"), version 1.0.
   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      - * Copyright 2019 Joyent, Inc.
       13 + * Copyright 2020 Joyent, Inc.
  14   14   */
  15   15  
  16   16  #ifndef _SYS_DDI_UFM_H
  17   17  #define _SYS_DDI_UFM_H
  18   18  
  19   19  #ifdef __cplusplus
  20   20  extern "C" {
  21   21  #endif
  22   22  
  23   23  #ifdef _KERNEL
↓ open down ↓ 20 lines elided ↑ open up ↑
  44   44  /*
  45   45   * Bitfield enumerating the DDI UFM capabilities supported by this device
  46   46   * instance.  Currently there is only a single capability of being able to
  47   47   * report UFM information.  Future UFM versions may add additional capabilities
  48   48   * such as the ability to obtain a raw dump the firmware image or ability to
  49   49   * upgrade the firmware.  When support for new capabilties are added to the DDI
  50   50   * UFM subsystem, it should be reflected in this enum and the implementation of
  51   51   * the UFM_IOC_GETCAPS should be extended appropriately.
  52   52   */
  53   53  typedef enum {
  54      -        DDI_UFM_CAP_REPORT      = 1 << 0,
       54 +        DDI_UFM_CAP_REPORT      = 1 << 0
  55   55  } ddi_ufm_cap_t;
  56   56  
  57   57  /*
  58   58   * This struct defines the input/output data for the UFM_IOC_GETCAPS ioctl.
  59   59   * Callers should specify the ufmg_version and ufmg_devpath fields.  On success
  60   60   * the ufmg_caps field will be filled in with a value indicating the supported
  61   61   * UFM capabilities of the device specified in ufmg_devpath.
  62   62   */
  63   63  typedef struct ufm_ioc_getcaps {
  64   64          uint_t          ufmg_version;   /* DDI_UFM_VERSION */
↓ open down ↓ 160 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX