aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2020-04-13 04:43:10 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2020-04-13 04:43:10 +0000
commit5d44c4851d5e727359442b8d371965ab64685b6f (patch)
treef7a8949ade1f1c31c0b18f59fa61b6400605f424 /include
parent0a9f85769a18562cb3cb5a59ec202e044b18389c (diff)
downloadsg3_utils-5d44c4851d5e727359442b8d371965ab64685b6f.tar.gz
sg_lib: sntl: add flush, synchronize cache, write same and dummy start stop unit commands; wire cache mpage's WCE to nvme 'volatile write cache'
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@848 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'include')
-rw-r--r--include/sg_pt_nvme.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sg_pt_nvme.h b/include/sg_pt_nvme.h
index 590b4de9..06f8f0f4 100644
--- a/include/sg_pt_nvme.h
+++ b/include/sg_pt_nvme.h
@@ -121,6 +121,8 @@ struct sg_sntl_dev_state_t {
uint8_t pdt; /* 6 bit value in INQUIRY response */
uint8_t enc_serv; /* single bit in INQUIRY response */
uint8_t id_ctl253; /* NVMSR field of Identify controller (byte 253) */
+ bool wce; /* Write Cache Enable (WCE) setting */
+ bool wce_changed; /* WCE setting has been changed */
};
struct sg_sntl_result_t {