summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aic7xxx/aic79xx_osm.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2006-10-06 09:22:41 +0200
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-10-26 00:12:12 +0200
commit80f1443c66de3ec42e28d151bd43a80de398877e (patch)
tree255d548d3561e1c4cf6c20736e79b81664a536c2 /drivers/scsi/aic7xxx/aic79xx_osm.c
parent[SCSI] qla4xxx: fix double printk on load (diff)
downloadlinux-80f1443c66de3ec42e28d151bd43a80de398877e.tar.xz
linux-80f1443c66de3ec42e28d151bd43a80de398877e.zip
[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: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aic7xxx/aic79xx_osm.c')
-rw-r--r--drivers/scsi/aic7xxx/aic79xx_osm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.c b/drivers/scsi/aic7xxx/aic79xx_osm.c
index f8e60486167d..d8d6687e20ad 100644
--- a/drivers/scsi/aic7xxx/aic79xx_osm.c
+++ b/drivers/scsi/aic7xxx/aic79xx_osm.c
@@ -773,6 +773,7 @@ struct scsi_host_template aic79xx_driver_template = {
#endif
.can_queue = AHD_MAX_QUEUE,
.this_id = -1,
+ .max_sectors = 8192,
.cmd_per_lun = 2,
.use_clustering = ENABLE_CLUSTERING,
.slave_alloc = ahd_linux_slave_alloc,