diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2016-01-27 15:13:35 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2016-01-27 15:13:35 +0000 |
commit | 572d431816271830cc321c2c7b596236e5708ea0 (patch) | |
tree | fc4216b9e9af787d73423029acfd9632f214db4a /include/sg_cmds_extra.h | |
parent | 92f622b977ac1f47099c4092b816e11f531f47c2 (diff) | |
download | sg3_utils-572d431816271830cc321c2c7b596236e5708ea0.tar.gz |
sg_logs: LPS misalignment lpage; sg_format: add ffmt option; sg_lib: big sense reporting rework
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@657 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'include/sg_cmds_extra.h')
-rw-r--r-- | include/sg_cmds_extra.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/sg_cmds_extra.h b/include/sg_cmds_extra.h index 3dc4ae39..534fe386 100644 --- a/include/sg_cmds_extra.h +++ b/include/sg_cmds_extra.h @@ -2,7 +2,7 @@ #define SG_CMDS_EXTRA_H /* - * Copyright (c) 2004-2014 Douglas Gilbert. + * Copyright (c) 2004-2016 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. @@ -52,6 +52,10 @@ int sg_ll_ata_pt(int sg_fd, const unsigned char * cdbp, int cdb_len, int sg_ll_format_unit(int sg_fd, int fmtpinfo, int longlist, int fmtdata, int cmplist, int dlist_format, int timeout_secs, void * paramp, int param_len, int noisy, int verbose); +int sg_ll_format_unit2(int sg_fd, int fmtpinfo, int longlist, int fmtdata, + int cmplist, int dlist_format, int ffmt, + int timeout_secs, void * paramp, int param_len, + int noisy, int verbose); /* Invokes a SCSI GET LBA STATUS command (SBC). Returns 0 -> success, * SG_LIB_CAT_INVALID_OP -> GET LBA STATUS not supported, |