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

Commit 80f1443c authored by Hannes Reinecke's avatar Hannes Reinecke Committed by James Bottomley
Browse files

[SCSI] aic7xxx: Adjust .max_sectors



According to the adaptec sources aic7xxx / aic79xx really can do
4MB transfers. So we should adjust .max_sectors.

Signed-off-by: default avatarHannes Reinecke <hare@suse.de>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 5ae16db3
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -773,6 +773,7 @@ struct scsi_host_template aic79xx_driver_template = {
#endif
#endif
	.can_queue		= AHD_MAX_QUEUE,
	.can_queue		= AHD_MAX_QUEUE,
	.this_id		= -1,
	.this_id		= -1,
	.max_sectors		= 8192,
	.cmd_per_lun		= 2,
	.cmd_per_lun		= 2,
	.use_clustering		= ENABLE_CLUSTERING,
	.use_clustering		= ENABLE_CLUSTERING,
	.slave_alloc		= ahd_linux_slave_alloc,
	.slave_alloc		= ahd_linux_slave_alloc,
+1 −0
Original line number Original line Diff line number Diff line
@@ -777,6 +777,7 @@ struct scsi_host_template aic7xxx_driver_template = {
#endif
#endif
	.can_queue		= AHC_MAX_QUEUE,
	.can_queue		= AHC_MAX_QUEUE,
	.this_id		= -1,
	.this_id		= -1,
	.max_sectors		= 8192,
	.cmd_per_lun		= 2,
	.cmd_per_lun		= 2,
	.use_clustering		= ENABLE_CLUSTERING,
	.use_clustering		= ENABLE_CLUSTERING,
	.slave_alloc		= ahc_linux_slave_alloc,
	.slave_alloc		= ahc_linux_slave_alloc,