diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index 646ceb85b..4d5ff8d6e 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -1068,6 +1068,12 @@ static const struct scst_sdbops scst_scsi_op_table[] = { .info_data_direction = SCST_DATA_NONE, .info_op_flags = SCST_LONG_TIMEOUT, .get_cdb_info = get_cdb_info_none}, + {.ops = 0xA2, .devkey = "OO O ", + .info_op_name = "SECURITY PROTOCOL IN", + .info_data_direction = SCST_DATA_READ, + .info_op_flags = SCST_REG_RESERVE_ALLOWED|SCST_WRITE_EXCL_ALLOWED, + .info_len_off = 6, .info_len_len = 4, + .get_cdb_info = get_cdb_info_len_4}, {.ops = 0xA3, .devkey = " O ", .info_op_name = "SEND KEY", .info_data_direction = SCST_DATA_WRITE, @@ -1186,6 +1192,12 @@ static const struct scst_sdbops scst_scsi_op_table[] = { .info_data_direction = SCST_DATA_NONE, .info_op_flags = FLAG_NONE, .get_cdb_info = get_cdb_info_none}, + {.ops = 0xB5, .devkey = "OO O ", + .info_op_name = "SECURITY PROTOCOL OUT", + .info_data_direction = SCST_DATA_WRITE, + .info_op_flags = FLAG_NONE, + .info_len_off = 6, .info_len_len = 4, + .get_cdb_info = get_cdb_info_len_4}, {.ops = 0xB5, .devkey = " O ", .info_op_name = "REQUEST VOLUME ELEMENT ADDRESS", .info_data_direction = SCST_DATA_READ,