"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/sg_lib.h" between
sg3_utils-1.47r908.tgz and sg3_utils-1.47r915.tar.xz

About: sg3_utils contains utilities that send SCSI commands to devices. Beta version.

sg_lib.h  (sg3_utils-1.47r908.tgz):sg_lib.h  (sg3_utils-1.47r915.tar.xz)
skipping to change at line 473 skipping to change at line 473
* [sk,asc,ascq: 0x7,*,*] */ * [sk,asc,ascq: 0x7,*,*] */
#define SG_LIB_CAT_INVALID_OP 9 /* (Illegal request,) Invalid opcode: #define SG_LIB_CAT_INVALID_OP 9 /* (Illegal request,) Invalid opcode:
* [sk,asc,ascq: 0x5,0x20,0x0] */ * [sk,asc,ascq: 0x5,0x20,0x0] */
#define SG_LIB_CAT_COPY_ABORTED 10 /* sense key, some data transferred #define SG_LIB_CAT_COPY_ABORTED 10 /* sense key, some data transferred
* [sk,asc,ascq: 0xa,*,*] */ * [sk,asc,ascq: 0xa,*,*] */
#define SG_LIB_CAT_ABORTED_COMMAND 11 /* interpreted from sense buffer #define SG_LIB_CAT_ABORTED_COMMAND 11 /* interpreted from sense buffer
* [sk,asc,ascq: 0xb,! 0x10,*] */ * [sk,asc,ascq: 0xb,! 0x10,*] */
#define SG_LIB_CAT_MISCOMPARE 14 /* sense key, probably verify #define SG_LIB_CAT_MISCOMPARE 14 /* sense key, probably verify
* [sk,asc,ascq: 0xe,*,*] */ * [sk,asc,ascq: 0xe,*,*] */
#define SG_LIB_FILE_ERROR 15 /* device or other file problem */ #define SG_LIB_FILE_ERROR 15 /* device or other file problem */
/* for 17 and 18, see below */
#define SG_LIB_CAT_NO_SENSE 20 /* sense data with key of "no sense" #define SG_LIB_CAT_NO_SENSE 20 /* sense data with key of "no sense"
* [sk,asc,ascq: 0x0,*,*] */ * [sk,asc,ascq: 0x0,*,*] */
#define SG_LIB_CAT_RECOVERED 21 /* Successful command after recovered err #define SG_LIB_CAT_RECOVERED 21 /* Successful command after recovered err
* [sk,asc,ascq: 0x1,*,*] */ * [sk,asc,ascq: 0x1,*,*] */
#define SG_LIB_LBA_OUT_OF_RANGE 22 /* Illegal request, LBA Out Of Range #define SG_LIB_LBA_OUT_OF_RANGE 22 /* Illegal request, LBA Out Of Range
* [sk,asc,ascq: 0x5,0x21,0x0] */ * [sk,asc,ascq: 0x5,0x21,0x0] */
#define SG_LIB_CAT_RES_CONFLICT SAM_STAT_RESERVATION_CONFLICT #define SG_LIB_CAT_RES_CONFLICT SAM_STAT_RESERVATION_CONFLICT
/* 24: this is a SCSI status, not sense. /* 24: this is a SCSI status, not sense.
* It indicates reservation by another * It indicates reservation by another
* machine blocks this command */ * machine blocks this command */
#define SG_LIB_CAT_CONDITION_MET 25 /* SCSI status, not sense key. #define SG_LIB_CAT_CONDITION_MET 25 /* SCSI status, not sense key.
* Only from PRE-FETCH (SBC-4) */ * Only from PRE-FETCH (SBC-4) */
#define SG_LIB_CAT_BUSY 26 /* SCSI status, not sense. Invites retry */ #define SG_LIB_CAT_BUSY 26 /* SCSI status, not sense. Invites retry */
#define SG_LIB_CAT_TS_FULL 27 /* SCSI status, not sense. Wait then retry */ #define SG_LIB_CAT_TS_FULL 27 /* SCSI status, not sense. Wait then retry */
#define SG_LIB_CAT_ACA_ACTIVE 28 /* SCSI status; ACA seldom used */ #define SG_LIB_CAT_ACA_ACTIVE 28 /* SCSI status; ACA seldom used */
#define SG_LIB_CAT_TASK_ABORTED 29 /* SCSI status, this command aborted by? */ #define SG_LIB_CAT_TASK_ABORTED 29 /* SCSI status, this command aborted by? */
#define SG_LIB_CONTRADICT 31 /* error involving two or more cl options */ #define SG_LIB_CONTRADICT 31 /* error involving two or more cl options */
#define SG_LIB_LOGIC_ERROR 32 /* unexpected situation in code */ #define SG_LIB_LOGIC_ERROR 32 /* unexpected situation in code */
/* for 33 see SG_LIB_CAT_TIMEOUT below */
#define SG_LIB_WINDOWS_ERR 34 /* Windows error number don't fit in 7 bits so #define SG_LIB_WINDOWS_ERR 34 /* Windows error number don't fit in 7 bits so
* map to a single value for exit statuses */ * map to a single value for exit statuses */
#define SG_LIB_TRANSPORT_ERROR 35 /* driver or interconnect */
#define SG_LIB_OK_FALSE 36 /* no error, reporting false (cf. no error, #define SG_LIB_OK_FALSE 36 /* no error, reporting false (cf. no error,
* reporting true is SG_LIB_OK_TRUE(0) ) */ * reporting true is SG_LIB_OK_TRUE(0) ) */
#define SG_LIB_CAT_PROTECTION 40 /* subset of aborted command (for PI, DIF) #define SG_LIB_CAT_PROTECTION 40 /* subset of aborted command (for PI, DIF)
* [sk,asc,ascq: 0xb,0x10,*] */ * [sk,asc,ascq: 0xb,0x10,*] */
/* 47: flock error used in ddpt utility */ /* 47: flock error used in ddpt utility */
#define SG_LIB_NVME_STATUS 48 /* NVMe Status Field (SF) other than 0 */ #define SG_LIB_NVME_STATUS 48 /* NVMe Status Field (SF) other than 0 */
#define SG_LIB_WILD_RESID 49 /* Residual value for data-in transfer of a #define SG_LIB_WILD_RESID 49 /* Residual value for data-in transfer of a
* SCSI command is nonsensical */ * SCSI command is nonsensical */
#define SG_LIB_OS_BASE_ERR 50 /* in Linux: values found in: #define SG_LIB_OS_BASE_ERR 50 /* in Linux: values found in:
* include/uapi/asm-generic/errno-base.h * include/uapi/asm-generic/errno-base.h
 End of changes. 3 change blocks. 
0 lines changed or deleted 3 lines changed or added

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