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

Finn Thain
2016-03-21T02:32:04Z

[-- Attachment #1: dmx3191d-max_sectors --]
[-- Type: text/plain, Size: 846 bytes --]

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>

---
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,