diff options
Diffstat (limited to 'drivers/block/viodasd.c')
-rw-r--r-- | drivers/block/viodasd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/block/viodasd.c b/drivers/block/viodasd.c index d44ece7d7b7c..c12b31362ac6 100644 --- a/drivers/block/viodasd.c +++ b/drivers/block/viodasd.c | |||
@@ -471,8 +471,7 @@ retry: | |||
471 | } | 471 | } |
472 | 472 | ||
473 | d->disk = g; | 473 | d->disk = g; |
474 | blk_queue_max_hw_segments(q, VIOMAXBLOCKDMA); | 474 | blk_queue_max_segments(q, VIOMAXBLOCKDMA); |
475 | blk_queue_max_phys_segments(q, VIOMAXBLOCKDMA); | ||
476 | blk_queue_max_hw_sectors(q, VIODASD_MAXSECTORS); | 475 | blk_queue_max_hw_sectors(q, VIODASD_MAXSECTORS); |
477 | g->major = VIODASD_MAJOR; | 476 | g->major = VIODASD_MAJOR; |
478 | g->first_minor = dev_no << PARTITION_SHIFT; | 477 | g->first_minor = dev_no << PARTITION_SHIFT; |