diff options
Diffstat (limited to 'drivers/block/cciss.c')
-rw-r--r-- | drivers/block/cciss.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index 030e52d72254..a29e69418a03 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c | |||
@@ -1797,10 +1797,7 @@ static int cciss_add_disk(ctlr_info_t *h, struct gendisk *disk, | |||
1797 | blk_queue_bounce_limit(disk->queue, h->pdev->dma_mask); | 1797 | blk_queue_bounce_limit(disk->queue, h->pdev->dma_mask); |
1798 | 1798 | ||
1799 | /* This is a hardware imposed limit. */ | 1799 | /* This is a hardware imposed limit. */ |
1800 | blk_queue_max_hw_segments(disk->queue, h->maxsgentries); | 1800 | blk_queue_max_segments(disk->queue, h->maxsgentries); |
1801 | |||
1802 | /* This is a limit in the driver and could be eliminated. */ | ||
1803 | blk_queue_max_phys_segments(disk->queue, h->maxsgentries); | ||
1804 | 1801 | ||
1805 | blk_queue_max_hw_sectors(disk->queue, h->cciss_max_sectors); | 1802 | blk_queue_max_hw_sectors(disk->queue, h->cciss_max_sectors); |
1806 | 1803 | ||