Commit 9d2e9d66 authored by Kashyap, Desai's avatar Kashyap, Desai Committed by James Bottomley

[SCSI] mptsas : Change DEFINED value of can queue for FC and SAS devices.

Change DEFINED value of can queue for FC and SAS devices.
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent 4dbfb544
...@@ -157,8 +157,9 @@ ...@@ -157,8 +157,9 @@
/* /*
* Try to keep these at 2^N-1 * Try to keep these at 2^N-1
*/ */
#define MPT_FC_CAN_QUEUE 127 #define MPT_FC_CAN_QUEUE 1024
#define MPT_SCSI_CAN_QUEUE 127 #define MPT_SCSI_CAN_QUEUE 127
#define MPT_SAS_CAN_QUEUE 127
/* /*
* Set the MAX_SGE value based on user input. * Set the MAX_SGE value based on user input.
......
...@@ -1891,7 +1891,7 @@ static struct scsi_host_template mptsas_driver_template = { ...@@ -1891,7 +1891,7 @@ static struct scsi_host_template mptsas_driver_template = {
.eh_bus_reset_handler = mptscsih_bus_reset, .eh_bus_reset_handler = mptscsih_bus_reset,
.eh_host_reset_handler = mptscsih_host_reset, .eh_host_reset_handler = mptscsih_host_reset,
.bios_param = mptscsih_bios_param, .bios_param = mptscsih_bios_param,
.can_queue = MPT_FC_CAN_QUEUE, .can_queue = MPT_SAS_CAN_QUEUE,
.this_id = -1, .this_id = -1,
.sg_tablesize = MPT_SCSI_SG_DEPTH, .sg_tablesize = MPT_SCSI_SG_DEPTH,
.max_sectors = 8192, .max_sectors = 8192,
......
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