iommu sg merging: sata_inic162x: use pci_set_dma_max_seg_size
authorFUJITA Tomonori <tomof@acm.org>
Tue, 5 Feb 2008 06:28:05 +0000 (22:28 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:11 +0000 (09:44 -0800)
commitb7d8629f8b4b250fda578e59ecddc77c6bdec2b6
tree9164030272e3a4e67b8d31a0f596d99f814b66b6
parent860ac568e825b623b0b335ca277dd47d1d7fd5d0
iommu sg merging: sata_inic162x: use pci_set_dma_max_seg_size

This sets the segment size limit properly via pci_set_dma_max_seg_size
and remove blk_queue_max_segment_size because scsi-ml calls it.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Acked-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/ata/sata_inic162x.c