]> git.baikalelectronics.ru Git - kernel.git/commit
sata_mv: correct S/G table limits
authorJeff Garzik <jeff@garzik.org>
Tue, 9 Oct 2007 17:51:57 +0000 (13:51 -0400)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 9 Oct 2007 19:38:26 +0000 (12:38 -0700)
commitd9a0b76a4947c82705de840c0f012c4551b8e8c0
tree3c8cb3e429253cea3c5e474892efb722834e9378
parent250f8c982067a8c35ffc1455e428b5032a79188a
sata_mv: correct S/G table limits

The recent mv_fill_sg() rewrite, to fix a data corruption problem
related to IOMMU virtual merging, forgot to account for the
potentially-increased size of the scatter/gather table after its run.

Additionally, the DMA boundary is reduced from 0xffffffff to 0xffff
to more closely match the needs of mv_fill_sg().

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/ata/sata_mv.c