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