]> git.baikalelectronics.ru Git - kernel.git/commit
libata: fix for sata_mv >64KB DMA segments
authorOlof Johansson <olof@lixom.net>
Wed, 3 Oct 2007 01:45:27 +0000 (20:45 -0500)
committerJeff Garzik <jeff@garzik.org>
Wed, 3 Oct 2007 18:41:20 +0000 (14:41 -0400)
commitf934c2c32bb48eace810767848d24c3253b7319a
treed98d08a9bf2fa308161f99235c15cec40645de49
parent9f120d455ecd347ab9a29c2825663e94415bc7de
libata: fix for sata_mv >64KB DMA segments

Fix bug in sata_mv for cases where the IOMMU layer has merged SG entries
to larger than 64KB. They need to be split up before being sent to
the driver.

Just for simplicity's sake, split up at 64K boundary instead of 64K size,
since that's what the common code does anyway.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_mv.c