"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/sg_pt_nvme.h" between
sdparm-1.11.tgz and sdparm-1.12.tgz

About: sdparm let you access SCSI modes pages, read VPD pages, send simple SCSI commands (similar functionality for SCSI disks like "hdparm" for ATA disks).

sg_pt_nvme.h  (sdparm-1.11.tgz):sg_pt_nvme.h  (sdparm-1.12.tgz)
skipping to change at line 123 skipping to change at line 123
#else #else
; ;
#endif #endif
struct sg_sntl_dev_state_t { struct sg_sntl_dev_state_t {
uint8_t scsi_dsense; uint8_t scsi_dsense;
uint8_t enclosure_override; /* ENC_OV in sdparm */ uint8_t enclosure_override; /* ENC_OV in sdparm */
uint8_t pdt; /* 6 bit value in INQUIRY response */ uint8_t pdt; /* 6 bit value in INQUIRY response */
uint8_t enc_serv; /* single bit in INQUIRY response */ uint8_t enc_serv; /* single bit in INQUIRY response */
uint8_t id_ctl253; /* NVMSR field of Identify controller (byte 253) */ 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 { struct sg_sntl_result_t {
uint8_t sstatus; uint8_t sstatus;
uint8_t sk; uint8_t sk;
uint8_t asc; uint8_t asc;
uint8_t ascq; uint8_t ascq;
uint8_t in_byte; uint8_t in_byte;
uint8_t in_bit; /* use 255 for 'no bit position given' */ uint8_t in_bit; /* use 255 for 'no bit position given' */
}; };
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)