summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/dmx3191d.c
diff options
context:
space:
mode:
authorFinn Thain <fthain@telegraphics.com.au>2016-03-23 21:10:24 +1100
committerMartin K. Petersen <martin.petersen@oracle.com>2016-04-11 16:57:09 -0400
commit4712bd8d473da5e99d2328654bdba565de8b43ce (patch)
tree17037b079c1e3f62f50f12cba6e1d630d1983e44 /drivers/scsi/dmx3191d.c
parentae5e33af42eb1f1262cfc8722072561b908bf914 (diff)
downloadlinux-stable-4712bd8d473da5e99d2328654bdba565de8b43ce.tar.gz
linux-stable-4712bd8d473da5e99d2328654bdba565de8b43ce.tar.bz2
linux-stable-4712bd8d473da5e99d2328654bdba565de8b43ce.zip
dmx3191d: Drop max_sectors limit
The dmx3191d driver is not capable of DMA or PDMA so all transfers use PIO. Now that large slow PIO transfers periodically stop and call cond_resched(), the max_sectors limit can go away. Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/dmx3191d.c')
-rw-r--r--drivers/scsi/dmx3191d.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/dmx3191d.c b/drivers/scsi/dmx3191d.c
index cc46d67b9f6f..f8d9bd8eaa6f 100644
--- a/drivers/scsi/dmx3191d.c
+++ b/drivers/scsi/dmx3191d.c
@@ -67,7 +67,6 @@ static struct scsi_host_template dmx3191d_driver_template = {
.cmd_per_lun = 2,
.use_clustering = DISABLE_CLUSTERING,
.cmd_size = NCR5380_CMD_SIZE,
- .max_sectors = 128,
};
static int dmx3191d_probe_one(struct pci_dev *pdev,