Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -157,8 +157,9 @@
/*
 *	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_SAS_CAN_QUEUE	127

/*
 * Set the MAX_SGE value based on user input.
+1 −1
Original line number Diff line number Diff line
@@ -1891,7 +1891,7 @@ static struct scsi_host_template mptsas_driver_template = {
	.eh_bus_reset_handler		= mptscsih_bus_reset,
	.eh_host_reset_handler		= mptscsih_host_reset,
	.bios_param			= mptscsih_bios_param,
	.can_queue			= MPT_FC_CAN_QUEUE,
	.can_queue			= MPT_SAS_CAN_QUEUE,
	.this_id			= -1,
	.sg_tablesize			= MPT_SCSI_SG_DEPTH,
	.max_sectors			= 8192,