Print this page
5094 Update libsmbios with recent items
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Josef 'Jeff' Sipek<jeffpc@josefsipek.net>
Reviewed by: Garrett D'Amore <garrett@damore.org>
        
*** 19,32 ****
  # information: Portions Copyright [yyyy] [name of copyright owner]
  #
  # CDDL HEADER END
  #
  #
  # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  # Use is subject to license terms.
  #
- #ident  "%Z%%M% %I%     %E% SMI"
  
  #
  # The SMBIOS interfaces defined in <sys/smbios.h> include a set of integer-to-
  # string conversion routines for the various constants defined in the SMBIOS
  # spec.  These functions are used by smbios(1M) and prtdiag(1M) and can be
--- 19,32 ----
  # information: Portions Copyright [yyyy] [name of copyright owner]
  #
  # CDDL HEADER END
  #
  #
+ # Copyright 2015 OmniTI Computer Consulting, Inc.  All rights reserved.
  # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  # Use is subject to license terms.
  #
  
  #
  # The SMBIOS interfaces defined in <sys/smbios.h> include a set of integer-to-
  # string conversion routines for the various constants defined in the SMBIOS
  # spec.  These functions are used by smbios(1M) and prtdiag(1M) and can be
*** 46,55 ****
--- 46,56 ----
  SMB_CAT_        smbios_cache_ctype_name         uint_t
  SMB_CAF_        smbios_cache_flag_name          uint_t
  SMB_EVFL_       smbios_evlog_flag_name          uint_t
  SMB_IPMI_F_     smbios_ipmi_flag_name           uint_t
  SMB_MDF_        smbios_memdevice_flag_name      uint_t
+ SMB_PRC_        smbios_processor_core_flag_name uint_t
  SMB_TYPE_       smbios_type_name                uint_t
  SMB_SLCH1_      smbios_slot_ch1_name            uint_t
  SMB_SLCH2_      smbios_slot_ch2_name            uint_t
  '
  
*** 79,90 ****
--- 80,93 ----
  SMB_MAU_        smbios_memarray_use_desc        uint_t
  SMB_MAE_        smbios_memarray_ecc_desc        uint_t
  SMB_MDF_        smbios_memdevice_flag_desc      uint_t
  SMB_MDFF_       smbios_memdevice_form_desc      uint_t
  SMB_MDT_        smbios_memdevice_type_desc      uint_t
+ SMB_MDR_        smbios_memdevice_rank_desc      uint_t
  SMB_POC_        smbios_port_conn_desc           uint_t
  SMB_POT_        smbios_port_type_desc           uint_t
+ SMB_PRC_        smbios_processor_core_flag_desc uint_t
  SMB_PRF_        smbios_processor_family_desc    uint_t
  SMB_PRS_        smbios_processor_status_desc    uint_t
  SMB_PRT_        smbios_processor_type_desc      uint_t
  SMB_PRU_        smbios_processor_upgrade_desc   uint_t
  SMB_SLCH1_      smbios_slot_ch1_desc            uint_t
*** 102,117 ****
          exit 2
  fi
  
  echo "\
  /*\n\
   * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.\n\
   * Use is subject to license terms.\n\
   */\n\
  \n\
- #pragma ident\t\"%Z%%M%\t%I%\t%E% SMI\"\n\
- \n\
  #include <smbios.h>"
  
  echo "$name_funcs" | while read p name type; do
          [ -z "$p" ] && continue
          pattern="^#define[       ]\($p[A-Za-z0-9_]*\)[   ]*[A-Z0-9]*.*$"
--- 105,119 ----
          exit 2
  fi
  
  echo "\
  /*\n\
+  * Copyright 2015 OmniTI Computer Consulting, Inc.  All rights reserved.\n\
   * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.\n\
   * Use is subject to license terms.\n\
   */\n\
  \n\
  #include <smbios.h>"
  
  echo "$name_funcs" | while read p name type; do
          [ -z "$p" ] && continue
          pattern="^#define[       ]\($p[A-Za-z0-9_]*\)[   ]*[A-Z0-9]*.*$"