From f277836fbdf1af79ef905fa357609f0e45db99dc Mon Sep 17 00:00:00 2001 From: Douglas Gilbert Date: Tue, 17 Nov 2020 02:16:17 +0000 Subject: 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 --- lib/sg_pt_linux_nvme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sg_pt_linux_nvme.c') 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 */ -- cgit v1.2.3