aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/scsi_lib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index 68e424f09acb..f243fc30c908 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -1584,6 +1584,7 @@ struct request_queue *__scsi_alloc_queue(struct Scsi_Host *shost,
1584 blk_queue_max_sectors(q, shost->max_sectors); 1584 blk_queue_max_sectors(q, shost->max_sectors);
1585 blk_queue_bounce_limit(q, scsi_calculate_bounce_limit(shost)); 1585 blk_queue_bounce_limit(q, scsi_calculate_bounce_limit(shost));
1586 blk_queue_segment_boundary(q, shost->dma_boundary); 1586 blk_queue_segment_boundary(q, shost->dma_boundary);
1587 dma_set_seg_boundary(dev, shost->dma_boundary);
1587 1588
1588 blk_queue_max_segment_size(q, dma_get_max_seg_size(dev)); 1589 blk_queue_max_segment_size(q, dma_get_max_seg_size(dev));
1589 1590