git: nvme - Fix composite temperature in nvmectl

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Jun 18 11:17:37 PDT 2016


commit 1cdf60d569383248aa03275555a7474f9e2b9f42
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Jun 18 10:27:43 2016 -0700

    nvme - Fix composite temperature in nvmectl
    
    * Fix composite temperature reporting in nvmectl.  There are two byte
      fields making up a 16-word, not two separate byte fields.  The confusion
      stemmed from the fact that the 16-bit word is not word-aligned (possibly
      the only field in the entire spec that isn't aligned!).
    
    * Add 'errors' directive to dump error logs.

Summary of changes:
 sbin/nvmectl/nvmectl.c |  76 ++++++++++++++-
 sbin/nvmectl/nvmectl.h |   1 +
 sbin/nvmectl/subs.c    | 244 +++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 318 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1cdf60d569383248aa03275555a7474f9e2b9f42


-- 
DragonFly BSD source repository



More information about the Commits mailing list