diff options
| author | Tejun Heo <[email protected]> | 2007-06-08 13:46:55 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-06-08 17:23:33 -0700 |
| commit | 51b94d2a5a90d4800e74d7348bcde098a28f4fb3 (patch) | |
| tree | 0d72d28e03d0c0136965e143c942ae79db8b1bdb /include/linux/debugobjects.h | |
| parent | 7b4dc1fdb868089ab60c09531d476284b71373e3 (diff) | |
sata_promise: use TF interface for polling NODATA commands
sata_promise uses two different command modes - packet and TF. Packet mode
is intelligent low-overhead mode while TF is the same old taskfile
interface. As with other advanced interface (ahci/sil24),
ATA_TFLAG_POLLING has no effect in packet mode. However, PIO commands are
issued using TF interface in polling mode, so pdc_interrupt() considers
interrupts spurious if ATA_TFLAG_POLLING is set.
This is broken for polling NODATA commands because command is issued using
packet mode but the interrupt handler ignores it due to ATA_TFLAG_POLLING.
Fix pdc_qc_issue_prot() such that ATA/ATAPI NODATA commands are issued
using TF interface if ATA_TFLAG_POLLING is set.
This patch fixes detection failure introduced by polling SETXFERMODE.
Signed-off-by: Tejun Heo <[email protected]>
Acked-by: Mikael Pettersson <[email protected]>
Acked-by: Jeff Garzik <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions