aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message
diff options
context:
space:
mode:
authorKashyap, Desai <kashyap.desai@lsi.com>2009-08-05 03:18:44 -0400
committerJames Bottomley <James.Bottomley@suse.de>2009-08-22 18:52:24 -0400
commit9d2e9d66a3f032667934144cd61c396ba49f090d (patch)
treefb5ef0cfaa2ff30c416f6dec7c76ed83f9bd49a6 /drivers/message
parent4dbfb544ad5a28ac9e60634bdfbf09d2eb39cdb5 (diff)
[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: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/message')
-rw-r--r--drivers/message/fusion/mptbase.h3
-rw-r--r--drivers/message/fusion/mptsas.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h
index 1c8514dc31ca..73810fa53456 100644
--- a/drivers/message/fusion/mptbase.h
+++ b/drivers/message/fusion/mptbase.h
@@ -157,8 +157,9 @@
157/* 157/*
158 * Try to keep these at 2^N-1 158 * Try to keep these at 2^N-1
159 */ 159 */
160#define MPT_FC_CAN_QUEUE 127 160#define MPT_FC_CAN_QUEUE 1024
161#define MPT_SCSI_CAN_QUEUE 127 161#define MPT_SCSI_CAN_QUEUE 127
162#define MPT_SAS_CAN_QUEUE 127
162 163
163/* 164/*
164 * Set the MAX_SGE value based on user input. 165 * Set the MAX_SGE value based on user input.
diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c
index 55ff25244af4..c03968b9e7d2 100644
--- a/drivers/message/fusion/mptsas.c
+++ b/drivers/message/fusion/mptsas.c
@@ -1891,7 +1891,7 @@ static struct scsi_host_template mptsas_driver_template = {
1891 .eh_bus_reset_handler = mptscsih_bus_reset, 1891 .eh_bus_reset_handler = mptscsih_bus_reset,
1892 .eh_host_reset_handler = mptscsih_host_reset, 1892 .eh_host_reset_handler = mptscsih_host_reset,
1893 .bios_param = mptscsih_bios_param, 1893 .bios_param = mptscsih_bios_param,
1894 .can_queue = MPT_FC_CAN_QUEUE, 1894 .can_queue = MPT_SAS_CAN_QUEUE,
1895 .this_id = -1, 1895 .this_id = -1,
1896 .sg_tablesize = MPT_SCSI_SG_DEPTH, 1896 .sg_tablesize = MPT_SCSI_SG_DEPTH,
1897 .max_sectors = 8192, 1897 .max_sectors = 8192,