X-Git-Url: http://git.etherboot.org/mirror/scst/.git/blobdiff_plain/ac02f8d40774c33f6c9b78a38a55fc34a1784bf7..1e05cc1fc48aae1939a0c6f1a31da85c925a6fdb:/scst/src/scst_cdbprobe.h diff --git a/scst/src/scst_cdbprobe.h b/scst/src/scst_cdbprobe.h index bdc74e6..39034c1 100644 --- a/scst/src/scst_cdbprobe.h +++ b/scst/src/scst_cdbprobe.h @@ -35,6 +35,7 @@ static int get_trans_len_serv_act_in(struct scst_cmd *cmd, uint8_t off); static int get_trans_len_single(struct scst_cmd *cmd, uint8_t off); static int get_trans_len_none(struct scst_cmd *cmd, uint8_t off); static int get_trans_len_read_pos(struct scst_cmd *cmd, uint8_t off); +static int get_trans_cdb_len_10(struct scst_cmd *cmd, uint8_t off); /* +=====================================-============-======- @@ -284,6 +285,8 @@ static const struct scst_sdbops scst_scsi_op_table[] = { SCST_DATA_NONE, FLAG_NONE, 0, get_trans_len_none}, {0x37, "O O ", "READ DEFECT DATA(10)", SCST_DATA_READ, FLAG_NONE, 8, get_trans_len_1}, + {0x37, " O ", "INIT ELEMENT STATUS WRANGE", + SCST_DATA_NONE, SCST_LONG_TIMEOUT, 0, get_trans_len_none}, {0x38, " O O ", "MEDIUM SCAN", SCST_DATA_READ, FLAG_NONE, 8, get_trans_len_1}, {0x39, "OOOOOOOO ", "COMPARE", @@ -525,7 +528,7 @@ static const struct scst_sdbops scst_scsi_op_table[] = { {0xBF, " O ", "VOLUME SET(OUT)", SCST_DATA_WRITE, FLAG_NONE, 6, get_trans_len_4}, {0xE7, " V ", "INIT ELEMENT STATUS WRANGE", - SCST_DATA_NONE, SCST_LONG_TIMEOUT, 0, get_trans_len_none} + SCST_DATA_NONE, SCST_LONG_TIMEOUT, 0, get_trans_cdb_len_10} }; #define SCST_CDB_TBL_SIZE \