dmx3191d: Drop max_sectors limit
authorFinn Thain <fthain@telegraphics.com.au>
Wed, 23 Mar 2016 10:10:24 +0000 (21:10 +1100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 11 Apr 2016 20:57:09 +0000 (16:57 -0400)
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>
drivers/scsi/dmx3191d.c

index cc46d67b9f6f3ae7859330048998e14760be4b43..f8d9bd8eaa6f4daf81626fa0a0ef25625d6e23e8 100644 (file)
@@ -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,