Add FORMAT MEDIUM tape command to scst_scsi_op_table

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5022 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2013-10-04 23:58:16 +00:00
parent 7fd3d9da4e
commit 2e6c29d904

View File

@@ -278,6 +278,11 @@ static const struct scst_sdbops scst_scsi_op_table[] = {
.info_data_direction = SCST_DATA_NONE,
.info_op_flags = SCST_LONG_TIMEOUT|SCST_WRITE_MEDIUM,
.get_cdb_info = get_cdb_info_fmt},
{.ops = 0x04, .devkey = " O ",
.info_op_name = "FORMAT MEDIUM",
.info_data_direction = SCST_DATA_WRITE,
.info_op_flags = SCST_LONG_TIMEOUT|SCST_WRITE_MEDIUM,
.info_len_off = 3, .get_cdb_info = get_cdb_info_len_2},
{.ops = 0x04, .devkey = " O ",
.info_op_name = "FORMAT",
.info_data_direction = SCST_DATA_NONE,