diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2020-11-17 02:16:17 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2020-11-17 02:16:17 +0000 |
commit | f277836fbdf1af79ef905fa357609f0e45db99dc (patch) | |
tree | c0de5bba8314d1b9ab969e96fcca1804776e8d1b /lib/sg_pt_linux_nvme.c | |
parent | 6276daf9b89e1d27b91438ff1e92482a1d2e7179 (diff) | |
download | sg3_utils-f277836fbdf1af79ef905fa357609f0e45db99dc.tar.gz |
sg_vpd: add Format presets and Concurrent positioning ranges pages; sg_inq+sg_vpd: add hot-pluggable field in standard Inquiry
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@867 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'lib/sg_pt_linux_nvme.c')
-rw-r--r-- | lib/sg_pt_linux_nvme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sg_pt_linux_nvme.c b/lib/sg_pt_linux_nvme.c index b8d88696..d8868004 100644 --- a/lib/sg_pt_linux_nvme.c +++ b/lib/sg_pt_linux_nvme.c @@ -646,7 +646,7 @@ sntl_inq(struct sg_pt_linux_scsi * ptp, const uint8_t * cdbp, int time_secs, } else { /* Standard INQUIRY response */ /* pdt=0 --> disk; pdt=0xd --> SES; pdt=3 --> processor (safte) */ inq_dout[0] = (0x1f & ptp->dev_stat.pdt); /* (PQ=0)<<5 */ - /* inq_dout[1] = (RMD=0)<<7 | (LU_CONG=0)<<6; rest reserved */ + /* inq_dout[1] = (RMD=0)<<7 | (LU_CONG=0)<<6 | (HOT_PLUG=0)<<4; */ inq_dout[2] = 6; /* version: SPC-4 */ inq_dout[3] = 2; /* NORMACA=0, HISUP=0, response data format: 2 */ inq_dout[4] = 31; /* so response length is (or could be) 36 bytes */ |