diff options
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
-rw-r--r-- | drivers/scsi/scsi_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index c6642423cc67..ac3cca74bdfb 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c | |||
@@ -1627,7 +1627,7 @@ struct request_queue *__scsi_alloc_queue(struct Scsi_Host *shost, | |||
1627 | blk_queue_max_hw_segments(q, shost->sg_tablesize); | 1627 | blk_queue_max_hw_segments(q, shost->sg_tablesize); |
1628 | blk_queue_max_phys_segments(q, SCSI_MAX_SG_CHAIN_SEGMENTS); | 1628 | blk_queue_max_phys_segments(q, SCSI_MAX_SG_CHAIN_SEGMENTS); |
1629 | 1629 | ||
1630 | blk_queue_max_sectors(q, shost->max_sectors); | 1630 | blk_queue_max_hw_sectors(q, shost->max_sectors); |
1631 | blk_queue_bounce_limit(q, scsi_calculate_bounce_limit(shost)); | 1631 | blk_queue_bounce_limit(q, scsi_calculate_bounce_limit(shost)); |
1632 | blk_queue_segment_boundary(q, shost->dma_boundary); | 1632 | blk_queue_segment_boundary(q, shost->dma_boundary); |
1633 | dma_set_seg_boundary(dev, shost->dma_boundary); | 1633 | dma_set_seg_boundary(dev, shost->dma_boundary); |