mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 11:11:27 +00:00
Merge of the trunk's r2567:
Fixing PRs related flags for some commands as reported by Aleksey Kondratov <alekseyk1@open-e.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2568 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -175,7 +175,8 @@ static const struct scst_sdbops scst_scsi_op_table[] = {
|
||||
SCST_EXCL_ACCESS_ALLOWED,
|
||||
0, get_trans_len_none},
|
||||
{0x01, " M ", "REWIND",
|
||||
SCST_DATA_NONE, SCST_LONG_TIMEOUT, 0, get_trans_len_none},
|
||||
SCST_DATA_NONE, SCST_LONG_TIMEOUT|SCST_WRITE_EXCL_ALLOWED,
|
||||
0, get_trans_len_none},
|
||||
{0x01, "O V OO OO ", "REZERO UNIT",
|
||||
SCST_DATA_NONE, SCST_WRITE_EXCL_ALLOWED,
|
||||
0, get_trans_len_none},
|
||||
@@ -376,7 +377,8 @@ static const struct scst_sdbops scst_scsi_op_table[] = {
|
||||
{0x35, "O OO O ", "SYNCHRONIZE CACHE",
|
||||
SCST_DATA_NONE, FLAG_NONE, 0, get_trans_len_none},
|
||||
{0x36, "O OO O ", "LOCK UNLOCK CACHE",
|
||||
SCST_DATA_NONE, FLAG_NONE, 0, get_trans_len_none},
|
||||
SCST_DATA_NONE, SCST_WRITE_EXCL_ALLOWED,
|
||||
0, get_trans_len_none},
|
||||
{0x37, "O O ", "READ DEFECT DATA(10)",
|
||||
SCST_DATA_READ, SCST_WRITE_EXCL_ALLOWED,
|
||||
8, get_trans_len_1},
|
||||
@@ -533,7 +535,8 @@ static const struct scst_sdbops scst_scsi_op_table[] = {
|
||||
10, get_trans_len_4},
|
||||
{0x8F, "O OO O ", "VERIFY(16)",
|
||||
SCST_DATA_NONE, SCST_TRANSFER_LEN_TYPE_FIXED|
|
||||
SCST_VERIFY_BYTCHK_MISMATCH_ALLOWED,
|
||||
SCST_VERIFY_BYTCHK_MISMATCH_ALLOWED|
|
||||
SCST_WRITE_EXCL_ALLOWED,
|
||||
10, get_trans_len_4},
|
||||
{0x90, "O OO O ", "PRE-FETCH(16)",
|
||||
SCST_DATA_NONE, SCST_WRITE_EXCL_ALLOWED,
|
||||
|
||||
Reference in New Issue
Block a user