mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 10:09:30 +00:00
Add support for Simplified Direct Access Device in scsi_op_desc().
This commit is contained in:
parent
9390de81a1
commit
0c7658478e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=92052
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user