[PATCH 15/22] dmx3191d: Drop max_sectors limit

From: Finn Thain
Date: Mon Mar 14 2016 - 00:44:56 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>

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

Index: linux/drivers/scsi/dmx3191d.c
===================================================================
--- linux.orig/drivers/scsi/dmx3191d.c 2016-03-14 15:26:39.000000000 +1100
+++ linux/drivers/scsi/dmx3191d.c 2016-03-14 15:26:49.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,