]> git.baikalelectronics.ru Git - kernel.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)
commit03c6b95cf4a26804b12ef66fda00192460459832
treecc81387d1e284c3a5f0b4df09363cbcce209ed76
parenta29d7e304a52365384dd5df0f20c7a4175309e90
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