|
@@ -416,11 +416,11 @@ static struct scsi_host_template tcm_loop_driver_template = {
|
|
.queuecommand = tcm_loop_queuecommand,
|
|
.queuecommand = tcm_loop_queuecommand,
|
|
.change_queue_depth = tcm_loop_change_queue_depth,
|
|
.change_queue_depth = tcm_loop_change_queue_depth,
|
|
.eh_device_reset_handler = tcm_loop_device_reset,
|
|
.eh_device_reset_handler = tcm_loop_device_reset,
|
|
- .can_queue = TL_SCSI_CAN_QUEUE,
|
|
|
|
|
|
+ .can_queue = 1024,
|
|
.this_id = -1,
|
|
.this_id = -1,
|
|
- .sg_tablesize = TL_SCSI_SG_TABLESIZE,
|
|
|
|
- .cmd_per_lun = TL_SCSI_CMD_PER_LUN,
|
|
|
|
- .max_sectors = TL_SCSI_MAX_SECTORS,
|
|
|
|
|
|
+ .sg_tablesize = 256,
|
|
|
|
+ .cmd_per_lun = 1024,
|
|
|
|
+ .max_sectors = 0xFFFF,
|
|
.use_clustering = DISABLE_CLUSTERING,
|
|
.use_clustering = DISABLE_CLUSTERING,
|
|
.slave_alloc = tcm_loop_slave_alloc,
|
|
.slave_alloc = tcm_loop_slave_alloc,
|
|
.slave_configure = tcm_loop_slave_configure,
|
|
.slave_configure = tcm_loop_slave_configure,
|