diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2010-04-01 04:17:21 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2010-04-01 04:17:21 +0000 |
commit | dcf1df7ea54a678406ac4a295e6b8272bad36556 (patch) | |
tree | 1a24f88bcb31110b21382fa2dbe2ccf77b1f531e /include | |
parent | c74ed01de6f00ecd6f1905c9ec6674e25207f5fb (diff) | |
download | sg3_utils-dcf1df7ea54a678406ac4a295e6b8272bad36556.tar.gz |
first cut of sync with sbc3r22
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@333 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'include')
-rw-r--r-- | include/sg_cmds_extra.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sg_cmds_extra.h b/include/sg_cmds_extra.h index fc99ec94..d3bf6c8f 100644 --- a/include/sg_cmds_extra.h +++ b/include/sg_cmds_extra.h @@ -193,6 +193,11 @@ extern int sg_ll_set_id_info(int sg_fd, int itype, void * paramp, * SG_LIB_CAT_UNIT_ATTENTION, -1 -> other failure */ extern int sg_ll_unmap(int sg_fd, int group_num, int timeout_secs, void * paramp, int param_len, int noisy, int verbose); +/* Invokes a SCSI UNMAP (SBC-3) command. Version 2 adds anchor field + * (sbc3r22). Otherwise same as sg_ll_unmap() . */ +extern int sg_ll_unmap_v2(int sg_fd, int anchor, int group_num, + int timeout_secs, void * paramp, int param_len, + int noisy, int verbose); /* Invokes a SCSI VERIFY (10) command (SBC and MMC). * Note that 'veri_len' is in blocks while 'data_out_len' is in bytes. |