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

[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
...@@ -773,6 +773,7 @@ struct scsi_host_template aic79xx_driver_template = { ...@@ -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,
......
...@@ -777,6 +777,7 @@ struct scsi_host_template aic7xxx_driver_template = { ...@@ -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,
......
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