mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-20 04:01:26 +00:00
scst: Add support for the SCSI SET CAPACITY command
This is a command for tape devices. See also the ANSI T10 SSC document. Signed-off-by: Rob Turk <robtu@rtist.nl> [ bvanassche: added patch description ] git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8422 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -717,6 +717,11 @@ static const struct scst_sdbops scst_scsi_op_table[] = {
|
||||
.info_op_flags = FLAG_NONE,
|
||||
.info_lba_off = 2, .info_lba_len = 2,
|
||||
.get_cdb_info = get_cdb_info_lba_2_none},
|
||||
{.ops = 0x0B, .devkey = " O ",
|
||||
.info_op_name = "SET CAPACITY",
|
||||
.info_data_direction = SCST_DATA_NONE,
|
||||
.info_op_flags = SCST_WRITE_MEDIUM|SCST_STRICTLY_SERIALIZED,
|
||||
.get_cdb_info = get_cdb_info_none},
|
||||
{.ops = 0x0B, .devkey = " O ",
|
||||
.info_op_name = "SLEW AND PRINT",
|
||||
.info_data_direction = SCST_DATA_NONE,
|
||||
|
||||
Reference in New Issue
Block a user