diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index ffb59c35b..45c9d48ef 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -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,