From 0c7658478e038b7a9c08f5075d30bae9ea93c409 Mon Sep 17 00:00:00 2001 From: Hidetoshi Shimokawa Date: Mon, 11 Mar 2002 03:08:17 +0000 Subject: Add support for Simplified Direct Access Device in scsi_op_desc(). --- sys/cam/scsi/scsi_all.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/cam') diff --git a/sys/cam/scsi/scsi_all.c b/sys/cam/scsi/scsi_all.c index 12cfa1989fde..70b3afae5f28 100644 --- a/sys/cam/scsi/scsi_all.c +++ b/sys/cam/scsi/scsi_all.c @@ -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++) { -- cgit v1.3