diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2019-05-15 14:30:29 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2019-05-15 14:30:29 +0000 |
commit | 28903a1cc840874d25f0a6f2b9360bf800e3d46a (patch) | |
tree | 1ec51363339eef1cbbdac5a17e9d2add84b96d22 /testing/uapi_sg.h | |
parent | 3a5deb427c87030be41c99aa0b3fa26d9d79ec67 (diff) | |
download | sg3_utils-28903a1cc840874d25f0a6f2b9360bf800e3d46a.tar.gz |
sg_read_buffer: decode read microcode status page, add --inhex=FN option
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@822 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'testing/uapi_sg.h')
-rw-r--r-- | testing/uapi_sg.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/uapi_sg.h b/testing/uapi_sg.h index 87700c3c..fa7f2ea3 100644 --- a/testing/uapi_sg.h +++ b/testing/uapi_sg.h @@ -14,7 +14,7 @@ * Later extensions (versions 2, 3 and 4) to driver: * Copyright (C) 1998 - 2018 Douglas Gilbert * - * Version 4.0.11 (20190427) + * Version 4.0.11 (20190502) * This version is for Linux 4 and 5 series kernels. * * Documentation @@ -202,7 +202,8 @@ typedef struct sg_req_info { /* used by SG_GET_REQUEST_TABLE ioctl() */ #define SG_CTL_FLAGM_MASTER_FINI 0x100 /* wr> 0: setup for repeat slave req */ #define SG_CTL_FLAGM_MASTER_ERR 0x200 /* rd: sharing, master got error */ #define SG_CTL_FLAGM_NO_DURATION 0x400 /* don't calc command duration */ -#define SG_CTL_FLAGM_ALL_BITS 0x7ff /* should be OR of previous items */ +#define SG_CTL_FLAGM_MORE_ASYNC 0x800 /* yield EAGAIN in more cases */ +#define SG_CTL_FLAGM_ALL_BITS 0xfff /* should be OR of previous items */ /* Write one of the following values to sg_extended_info::read_value, get... */ #define SG_SEIRV_INT_MASK 0x0 /* get SG_SEIM_ALL_BITS */ |