From dcf1df7ea54a678406ac4a295e6b8272bad36556 Mon Sep 17 00:00:00 2001 From: Douglas Gilbert Date: Thu, 1 Apr 2010 04:17:21 +0000 Subject: first cut of sync with sbc3r22 git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@333 6180dd3e-e324-4e3e-922d-17de1ae2f315 --- include/sg_cmds_extra.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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. -- cgit v1.2.3