diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2018-01-19 13:08:58 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2018-01-19 13:08:58 +0000 |
commit | 400444efd4e3c2cd758aee250556c84e052634dc (patch) | |
tree | 4db54605f35f18dc4d997263e0218974ecfba463 /include/sg_pt_linux.h | |
parent | 239d147229acac3d3504360a38cd5ec8505d0d5e (diff) | |
download | sg3_utils-400444efd4e3c2cd758aee250556c84e052634dc.tar.gz |
add hex2stdout(), hex2stderr() and hex2str(); add testing/sg_tst_nvme; clean Makefile.freebsd in examples/ and testing/; NVMe error processing
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@745 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'include/sg_pt_linux.h')
-rw-r--r-- | include/sg_pt_linux.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sg_pt_linux.h b/include/sg_pt_linux.h index c7447726..0ad38d81 100644 --- a/include/sg_pt_linux.h +++ b/include/sg_pt_linux.h @@ -96,7 +96,8 @@ struct sg_pt_linux_scsi { /* Leave io_hdr in first place of this structure */ bool is_sg; bool is_bsg; - bool is_nvme; + bool is_nvme; /* OS device type, if false ignore nvme_direct */ + bool nvme_direct; /* false: our SNTL; true: received NVMe command */ bool mdxfer_out; /* direction of metadata xfer, true->data-out */ bool scsi_dsense; /* SCSI descriptor sense active when true */ int dev_fd; /* -1 if not given (yet) */ |