]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/ata/sata_nv.c
block: Consolidate phys_segment and hw_segment limits
[mv-sheeva.git] / drivers / ata / sata_nv.c
index 0c82d335c55d6c218acb9218fb54a298fd420a86..684fe04dbbb7f8200f710c578206d83bd6239030 100644 (file)
@@ -772,7 +772,7 @@ static int nv_adma_slave_config(struct scsi_device *sdev)
        }
 
        blk_queue_segment_boundary(sdev->request_queue, segment_boundary);
-       blk_queue_max_hw_segments(sdev->request_queue, sg_tablesize);
+       blk_queue_max_segments(sdev->request_queue, sg_tablesize);
        ata_port_printk(ap, KERN_INFO,
                "DMA mask 0x%llX, segment boundary 0x%lX, hw segs %hu\n",
                (unsigned long long)*ap->host->dev->dma_mask,