mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 03:01:26 +00:00
scst: Add support for SECURITY PROTOCOL IN and OUT
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4401 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user