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)
commitbaf14aa14efcfdb5a74d5cf804691086c6bec743
tree3c8cb3e429253cea3c5e474892efb722834e9378
parente2a57a815933b2d2e375f9de6be223098024ab90
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