[PATCH v3 15/23] dmx3191d: Drop max_sectors limit

From: Finn Thain
Date: Mon Mar 21 2016 - 00:08:30 EST


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@xxxxxxxxxxxxxxxxxxx>
Reviewed-by: Hannes Reinecke <hare@xxxxxxxx>

---
drivers/scsi/dmx3191d.c | 1 -
1 file changed, 1 deletion(-)

Index: linux/drivers/scsi/dmx3191d.c
===================================================================
--- linux.orig/drivers/scsi/dmx3191d.c 2016-03-21 13:31:27.000000000 +1100
+++ linux/drivers/scsi/dmx3191d.c 2016-03-21 13:31:37.000000000 +1100
@@ -67,7 +67,6 @@ static struct scsi_host_template dmx3191
.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,