]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
pata-bf54x: Set ATAPI HSM to control IDE device terminate sequence.
authorSonic Zhang <sonic.zhang@analog.com>
Mon, 12 May 2008 04:12:16 +0000 (12:12 +0800)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 19 May 2008 21:27:29 +0000 (17:27 -0400)
commitb6e7b447975b0364c3430284c7b16e2e89ccf9e9
treecc81387d1e284c3a5f0b4df09363cbcce209ed76
parent860da5e578c25d1ab4528c0d1ad13f9969e3490f
pata-bf54x: Set ATAPI HSM to control IDE device terminate sequence.

Set ATAPI host state machine to control IDE device terminate sequence.
Some IDE harddisk may assert terminate sequence in the middle of a
formal DMA transaction and resume later. Bit DETECT_TERM in ATAPI_CTRL
register determines whether the ATAPI host state machine or the kernel
driver should take care of this case.

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