]> git.baikalelectronics.ru Git - kernel.git/commit
[libata] pata_bf54x: Support sg list in bmdma transfer.
authorSonic Zhang <sonic.zhang@analog.com>
Wed, 4 Jan 2012 06:06:51 +0000 (14:06 +0800)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 18 Jan 2012 01:49:28 +0000 (20:49 -0500)
commitc8a366619e8affd2e43814e96ebb241e5024b02e
tree72c3b28073c3b021061f87e29aafddaaf9d3650b
parent0bdddafeac937c0fd8eb88a414b270fc2d6a89a7
[libata] pata_bf54x: Support sg list in bmdma transfer.

BF54x on-chip ATAPI controller allows maximum 0x1fffe bytes to be transfered
in one ATAPI transfer. So, set the max sg_tablesize to 4.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_bf54x.c