Add support for Simplified Direct Access Device in scsi_op_desc().

This commit is contained in:
Hidetoshi Shimokawa 2002-03-11 03:08:17 +00:00
parent 9390de81a1
commit 0c7658478e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=92052

View File

@ -656,6 +656,10 @@ scsi_op_desc(u_int16_t opcode, struct scsi_inquiry_data *inq_data)
num_tables = 1;
}
/* RBC is 'Simplified' Direct Access Device */
if (pd_type == T_RBC)
pd_type = T_DIRECT;
opmask = 1 << pd_type;
for (j = 0; j < num_tables; j++) {