diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2020-01-25 12:58:12 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2020-01-25 12:58:12 +0000 |
commit | e541eac9a0aa7a5e9eaa9d1c9e3c58d7605963b0 (patch) | |
tree | 6fe48e57ba62239b1f043fcee45bab93688da043 /src/sg_vpd.c | |
parent | 68c8a6cc83711259bd90e6296c63ee384d477b18 (diff) | |
download | sg3_utils-e541eac9a0aa7a5e9eaa9d1c9e3c58d7605963b0.tar.gz |
sbc4r18+spc6r01 partial catch-up; sg_format: add FORMAT WITH PRESET support
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@839 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_vpd.c')
-rw-r--r-- | src/sg_vpd.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sg_vpd.c b/src/sg_vpd.c index f18d8096..b91261af 100644 --- a/src/sg_vpd.c +++ b/src/sg_vpd.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006-2019 Douglas Gilbert. + * Copyright (c) 2006-2020 Douglas Gilbert. * All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the BSD_LICENSE file. @@ -40,7 +40,7 @@ */ -static const char * version_str = "1.56 20191204"; /* spc5r22 + sbc4r17 */ +static const char * version_str = "1.57 20200123"; /* spc6r01 + sbc4r18 */ /* standard VPD pages, in ascending page number order */ #define VPD_SUPPORTED_VPDS 0x0 @@ -78,6 +78,7 @@ static const char * version_str = "1.56 20191204"; /* spc5r22 + sbc4r17 */ #define VPD_LB_PROTECTION 0xb5 /* SSC-5 */ #define VPD_ZBC_DEV_CHARS 0xb6 /* zbc-r01b */ #define VPD_BLOCK_LIMITS_EXT 0xb7 /* sbc4r08 */ +#define VPD_FORMAT_PRESETS 0xb8 /* sbc4r18 */ #define VPD_NOPE_WANT_STD_INQ -2 /* request for standard inquiry */ /* Device identification VPD page associations */ @@ -210,6 +211,7 @@ static struct svpd_values_name_t standard_vpd_pg[] = { {VPD_DTDE_ADDRESS, 0, 1, "dtde", "Data transfer device element address (SSC)"}, {VPD_EXT_INQ, 0, -1, "ei", "Extended inquiry data"}, + {VPD_FORMAT_PRESETS, 0, 0, "fp", "Format presets"}, {VPD_IMP_OP_DEF, 0, -1, "iod", "Implemented operating definition (obsolete)"}, {VPD_LB_PROTECTION, 0, 0, "lbpro", "Logical block protection (SSC)"}, |