[PATCH v2 15/22] dmx3191d: Drop max_sectors limit

From: Finn Thain
Date: Tue Mar 15 2016 - 23:31:31 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-16 14:18:20.000000000 +1100
+++ linux/drivers/scsi/dmx3191d.c 2016-03-16 14:18:30.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,