Commit a5217a86 authored by Finn Thain's avatar Finn Thain Committed by Martin K. Petersen

atari_scsi: Set a reasonable default for cmd_per_lun

This setting does not need to be conditional on Atari ST or TT.
Signed-off-by: default avatarFinn Thain <fthain@telegraphics.com.au>
Tested-by: default avatarMichael Schmitz <schmitzmic@gmail.com>
Reviewed-by: default avatarHannes Reinecke <hare@suse.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 9c41ab27
...@@ -752,6 +752,7 @@ static struct scsi_host_template atari_scsi_template = { ...@@ -752,6 +752,7 @@ static struct scsi_host_template atari_scsi_template = {
.eh_abort_handler = atari_scsi_abort, .eh_abort_handler = atari_scsi_abort,
.eh_bus_reset_handler = atari_scsi_bus_reset, .eh_bus_reset_handler = atari_scsi_bus_reset,
.this_id = 7, .this_id = 7,
.cmd_per_lun = 2,
.use_clustering = DISABLE_CLUSTERING, .use_clustering = DISABLE_CLUSTERING,
.cmd_size = NCR5380_CMD_SIZE, .cmd_size = NCR5380_CMD_SIZE,
}; };
...@@ -788,11 +789,9 @@ static int __init atari_scsi_probe(struct platform_device *pdev) ...@@ -788,11 +789,9 @@ static int __init atari_scsi_probe(struct platform_device *pdev)
*/ */
if (ATARIHW_PRESENT(TT_SCSI)) { if (ATARIHW_PRESENT(TT_SCSI)) {
atari_scsi_template.can_queue = 16; atari_scsi_template.can_queue = 16;
atari_scsi_template.cmd_per_lun = 8;
atari_scsi_template.sg_tablesize = SG_ALL; atari_scsi_template.sg_tablesize = SG_ALL;
} else { } else {
atari_scsi_template.can_queue = 8; atari_scsi_template.can_queue = 8;
atari_scsi_template.cmd_per_lun = 1;
atari_scsi_template.sg_tablesize = SG_NONE; atari_scsi_template.sg_tablesize = SG_NONE;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment