Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions components/drivers/include/drivers/scsi.h
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ struct rt_scsi_host

rt_size_t max_id;
rt_size_t max_lun;
rt_bool_t parallel_io;

rt_list_t lun_nodes;
};
Expand Down
2 changes: 1 addition & 1 deletion components/drivers/scsi/scsi_cdrom.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ rt_err_t scsi_cdrom_probe(struct rt_scsi_device *sdev)
scdrom->sdev = sdev;
scdrom->parent.ida = &scsi_cdrom_ida;
scdrom->parent.read_only = RT_TRUE;
scdrom->parent.parallel_io = RT_FALSE;
scdrom->parent.parallel_io = sdev->host->parallel_io;
scdrom->parent.ops = &scsi_cdrom_ops;
scdrom->parent.max_partitions = RT_BLK_PARTITION_NONE;

Expand Down
2 changes: 1 addition & 1 deletion components/drivers/scsi/scsi_sd.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ rt_err_t scsi_sd_probe(struct rt_scsi_device *sdev)
sdev->priv = ssd;
ssd->sdev = sdev;
ssd->parent.ida = &scsi_sd_ida;
ssd->parent.parallel_io = RT_FALSE;
ssd->parent.parallel_io = sdev->host->parallel_io;
ssd->parent.ops = &scsi_sd_ops;
ssd->parent.max_partitions = RT_BLK_PARTITION_MAX;

Expand Down